Format
This commit is contained in:
parent
2e7e5633f5
commit
f886cd00a1
1 changed files with 5 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue