mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Room navigation : fix tests on invite after the refactoring
This commit is contained in:
+2
-2
@@ -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!"))}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user