mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
isCalledExactly(1) -> isCalledOnce()
This commit is contained in:
committed by
Benoit Marty
parent
3bde744d76
commit
fe771a37c2
+6
-6
@@ -57,9 +57,9 @@ class DefaultJoinRoomTest {
|
||||
.isNeverCalled()
|
||||
joinRoomLambda
|
||||
.assertions()
|
||||
.isCalledExactly(1)
|
||||
.withSequence(
|
||||
listOf(value(A_ROOM_ID))
|
||||
.isCalledOnce()
|
||||
.with(
|
||||
value(A_ROOM_ID)
|
||||
)
|
||||
assertThat(analyticsService.capturedEvents).containsExactly(
|
||||
roomResult.toAnalyticsJoinedRoom(aTrigger)
|
||||
@@ -88,9 +88,9 @@ class DefaultJoinRoomTest {
|
||||
sut.invoke(A_ROOM_ID, A_SERVER_LIST, aTrigger)
|
||||
joinRoomByIdOrAliasLambda
|
||||
.assertions()
|
||||
.isCalledExactly(1)
|
||||
.withSequence(
|
||||
listOf(value(A_ROOM_ID), value(A_SERVER_LIST))
|
||||
.isCalledOnce()
|
||||
.with(
|
||||
value(A_ROOM_ID), value(A_SERVER_LIST)
|
||||
)
|
||||
joinRoomLambda
|
||||
.assertions()
|
||||
|
||||
Reference in New Issue
Block a user