mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
hasSize(0) -> isEmpty()
This commit is contained in:
+1
-1
@@ -408,7 +408,7 @@ class VoiceMessageComposerPresenterTest {
|
|||||||
val finalState = awaitItem()
|
val finalState = awaitItem()
|
||||||
assertThat(finalState.voiceMessageState).isEqualTo(aPreviewState(isSending = true))
|
assertThat(finalState.voiceMessageState).isEqualTo(aPreviewState(isSending = true))
|
||||||
sendVoiceMessageResult.assertions().isNeverCalled()
|
sendVoiceMessageResult.assertions().isNeverCalled()
|
||||||
assertThat(analyticsService.trackedErrors).hasSize(0)
|
assertThat(analyticsService.trackedErrors).isEmpty()
|
||||||
voiceRecorder.assertCalls(started = 1, stopped = 1, deleted = 0)
|
voiceRecorder.assertCalls(started = 1, stopped = 1, deleted = 0)
|
||||||
|
|
||||||
testPauseAndDestroy(finalState)
|
testPauseAndDestroy(finalState)
|
||||||
|
|||||||
Reference in New Issue
Block a user