mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 16:26:53 +00:00
Update to protobuf-java 3.23.3
This commit is contained in:
1 parent
f57910cd97
commit
e003197f77
2 files changed
+15
-2
No files matched your search
@@ -6,7 +6,9 @@
|
||||
package org.signal.event
|
||||
|
||||
import com.google.cloud.logging.Logging
|
||||
import com.google.cloud.logging.LoggingOptions
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.junit.jupiter.api.assertDoesNotThrow
|
||||
import org.mockito.Mockito.mock
|
||||
|
||||
class GoogleCloudAdminEventLoggerTest {
|
||||
@@ -19,4 +21,15 @@ class GoogleCloudAdminEventLoggerTest {
|
||||
val event = RemoteConfigDeleteEvent("token", "test")
|
||||
logger.logEvent(event)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testGetService() {
|
||||
assertDoesNotThrow {
|
||||
// This is a canary for version conflicts between the cloud logging library and protobuf-java
|
||||
LoggingOptions.newBuilder()
|
||||
.setProjectId("test")
|
||||
.build()
|
||||
.getService()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user