From 22f9e5515c1285e42428855b6b82391a02a6abcf Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 4 Sep 2024 11:16:20 +0200 Subject: [PATCH] Fix quality issue. --- .../troubleshoot/UnifiedPushMatrixGatewayTestTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt b/libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt index 7b4d48070c..f9f2dbeb2e 100644 --- a/libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt +++ b/libraries/pushproviders/unifiedpush/src/test/kotlin/io/element/android/libraries/pushproviders/unifiedpush/troubleshoot/UnifiedPushMatrixGatewayTestTest.kt @@ -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)