Fix quality issue.
This commit is contained in:
parent
35b019318e
commit
22f9e5515c
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class UnifiedPushMatrixGatewayTestTest {
|
||||||
fun `test UnifiedPushMatrixGatewayTest network error`() = runTest {
|
fun `test UnifiedPushMatrixGatewayTest network error`() = runTest {
|
||||||
val sut = createUnifiedPushMatrixGatewayTest(
|
val sut = createUnifiedPushMatrixGatewayTest(
|
||||||
currentUserPushConfig = aCurrentUserPushConfig(),
|
currentUserPushConfig = aCurrentUserPushConfig(),
|
||||||
discoveryResponse = { throw RuntimeException("Network error") },
|
discoveryResponse = { error("Network error") },
|
||||||
)
|
)
|
||||||
launch {
|
launch {
|
||||||
sut.run(this)
|
sut.run(this)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue