RoomList: fix tests and sample
This commit is contained in:
parent
d9559af2cf
commit
812880a148
9 changed files with 87 additions and 75 deletions
|
|
@ -78,7 +78,7 @@ class ForwardMessagesPresenterTests {
|
|||
@Test
|
||||
fun `present - update query`() = runTest {
|
||||
val roomSummaryDataSource = FakeRoomSummaryDataSource().apply {
|
||||
postRoomSummary(listOf(RoomSummary.Filled(aRoomSummaryDetail())))
|
||||
postAllRooms(listOf(RoomSummary.Filled(aRoomSummaryDetail())))
|
||||
}
|
||||
val client = FakeMatrixClient(roomSummaryDataSource = roomSummaryDataSource)
|
||||
val presenter = aPresenter(client = client)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue