Room navigation : fix tests on invite after the refactoring
This commit is contained in:
parent
73f276ba8e
commit
fbb92f0c9a
21 changed files with 381 additions and 313 deletions
|
|
@ -164,7 +164,7 @@ class LeaveRoomPresenterImplTest {
|
|||
givenGetRoomResult(
|
||||
roomId = A_ROOM_ID,
|
||||
result = FakeMatrixRoom().apply {
|
||||
givenLeaveRoomError(RuntimeException("Blimey!"))
|
||||
this.leaveRoomLambda = { Result.failure(RuntimeException("Blimey!"))}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
@ -210,7 +210,7 @@ class LeaveRoomPresenterImplTest {
|
|||
givenGetRoomResult(
|
||||
roomId = A_ROOM_ID,
|
||||
result = FakeMatrixRoom().apply {
|
||||
givenLeaveRoomError(RuntimeException("Blimey!"))
|
||||
this.leaveRoomLambda = { Result.failure(RuntimeException("Blimey!"))}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue