updating sync service fake to reflect events by roomid change
This commit is contained in:
parent
abcf3193a8
commit
3f1fec1d8d
|
@ -14,6 +14,6 @@ class FakeSyncService : SyncService by mockk() {
|
||||||
|
|
||||||
fun givenRoom(roomId: RoomId) = every { room(roomId) }.delegateReturn()
|
fun givenRoom(roomId: RoomId) = every { room(roomId) }.delegateReturn()
|
||||||
|
|
||||||
fun givenEvents(roomId: RoomId) = every { events() }.delegateReturn()
|
fun givenEvents(roomId: RoomId) = every { events(roomId) }.delegateReturn()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue