mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix merge conflict (#1804)
This commit is contained in:
+2
-2
@@ -445,8 +445,8 @@ class VoiceMessageComposerPresenterTest {
|
|||||||
}.test {
|
}.test {
|
||||||
// Let sending fail due to media preprocessing error
|
// Let sending fail due to media preprocessing error
|
||||||
mediaPreProcessor.givenResult(Result.failure(Exception()))
|
mediaPreProcessor.givenResult(Result.failure(Exception()))
|
||||||
awaitItem().eventSink(VoiceMessageComposerEvents.RecordButtonEvent(PressEvent.PressStart))
|
awaitItem().eventSink(VoiceMessageComposerEvents.RecorderEvent(VoiceMessageRecorderEvent.Start))
|
||||||
awaitItem().eventSink(VoiceMessageComposerEvents.RecordButtonEvent(PressEvent.LongPressEnd))
|
awaitItem().eventSink(VoiceMessageComposerEvents.RecorderEvent(VoiceMessageRecorderEvent.Stop))
|
||||||
awaitItem().eventSink(VoiceMessageComposerEvents.SendVoiceMessage)
|
awaitItem().eventSink(VoiceMessageComposerEvents.SendVoiceMessage)
|
||||||
|
|
||||||
assertThat(awaitItem().voiceMessageState).isEqualTo(aPreviewState().toSendingState())
|
assertThat(awaitItem().voiceMessageState).isEqualTo(aPreviewState().toSendingState())
|
||||||
|
|||||||
Reference in New Issue
Block a user