mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 15:44:54 +00:00
Format file.
This commit is contained in:
+6
-4
@@ -308,9 +308,12 @@ class MediaViewerPresenterTest {
|
|||||||
val successState = awaitItem()
|
val successState = awaitItem()
|
||||||
assertThat(successState.downloadedMedia).isInstanceOf(AsyncData.Success::class.java)
|
assertThat(successState.downloadedMedia).isInstanceOf(AsyncData.Success::class.java)
|
||||||
successState.eventSink(MediaViewerEvents.Delete(AN_EVENT_ID))
|
successState.eventSink(MediaViewerEvents.Delete(AN_EVENT_ID))
|
||||||
redactEventLambda.assertions().isCalledOnce().with(
|
redactEventLambda.assertions()
|
||||||
value(AN_EVENT_ID.toEventOrTransactionId()), value(null)
|
.isCalledOnce()
|
||||||
)
|
.with(
|
||||||
|
value(AN_EVENT_ID.toEventOrTransactionId()),
|
||||||
|
value(null),
|
||||||
|
)
|
||||||
onItemDeletedLambda.assertions().isCalledOnce()
|
onItemDeletedLambda.assertions().isCalledOnce()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -372,4 +375,3 @@ class MediaViewerPresenterTest {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user