mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-01-25 00:40:24 +01:00
updating sync service fake to reflect events by roomid change
This commit is contained in:
parent
a396712e8e
commit
011c7aebf9
@ -14,6 +14,6 @@ class FakeSyncService : SyncService by mockk() {
|
||||
|
||||
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
Block a user