mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
isCalledExactly(1) -> isCalledOnce()
This commit is contained in:
committed by
Benoit Marty
parent
3bde744d76
commit
fe771a37c2
+6
-6
@@ -192,9 +192,9 @@ class AcceptDeclineInvitePresenterTest {
|
||||
cancelAndConsumeRemainingEvents()
|
||||
}
|
||||
assert(joinRoomFailure)
|
||||
.isCalledExactly(1)
|
||||
.withSequence(
|
||||
listOf(value(A_ROOM_ID), value(emptyList<String>()), value(JoinedRoom.Trigger.Invite))
|
||||
.isCalledOnce()
|
||||
.with(
|
||||
value(A_ROOM_ID), value(emptyList<String>()), value(JoinedRoom.Trigger.Invite)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -221,9 +221,9 @@ class AcceptDeclineInvitePresenterTest {
|
||||
cancelAndConsumeRemainingEvents()
|
||||
}
|
||||
assert(joinRoomSuccess)
|
||||
.isCalledExactly(1)
|
||||
.withSequence(
|
||||
listOf(value(A_ROOM_ID), value(emptyList<String>()), value(JoinedRoom.Trigger.Invite))
|
||||
.isCalledOnce()
|
||||
.with(
|
||||
value(A_ROOM_ID), value(emptyList<String>()), value(JoinedRoom.Trigger.Invite)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user