mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Format
This commit is contained in:
+5
-4
@@ -470,10 +470,11 @@ class MessagesPresenterTest {
|
|||||||
val initialState = awaitItem()
|
val initialState = awaitItem()
|
||||||
initialState.eventSink.invoke(
|
initialState.eventSink.invoke(
|
||||||
MessagesEvents.HandleAction(
|
MessagesEvents.HandleAction(
|
||||||
TimelineItemAction.Redact, aMessageEvent(
|
action = TimelineItemAction.Redact,
|
||||||
transactionId = A_TRANSACTION_ID,
|
event = aMessageEvent(
|
||||||
sendState = LocalEventSendState.SendingFailed("Failed to send message")
|
transactionId = A_TRANSACTION_ID,
|
||||||
)
|
sendState = LocalEventSendState.SendingFailed("Failed to send message")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
assertThat(matrixRoom.cancelSendCount).isEqualTo(1)
|
assertThat(matrixRoom.cancelSendCount).isEqualTo(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user