Browse Source

Fix quality issue.

pull/3388/head
Benoit Marty 2 weeks ago
parent
commit
afa19f4081
  1. 2
      libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt

2
libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt

@ -93,7 +93,7 @@ class UnifiedPushMatrixGatewayTestTest { @@ -93,7 +93,7 @@ class UnifiedPushMatrixGatewayTestTest {
fun `test UnifiedPushMatrixGatewayTest network error`() = runTest {
val sut = createUnifiedPushMatrixGatewayTest(
currentUserPushConfig = aCurrentUserPushConfig(),
discoveryResponse = { throw RuntimeException("Network error") },
discoveryResponse = { error("Network error") },
)
launch {
sut.run(this)

Loading…
Cancel
Save