Fix test compilation
This commit is contained in:
parent
43fab70d30
commit
f0aaa56425
3 changed files with 9 additions and 1 deletions
|
|
@ -325,7 +325,9 @@ class RoomListPresenterTests {
|
||||||
client.roomListService,
|
client.roomListService,
|
||||||
lastMessageTimestampFormatter,
|
lastMessageTimestampFormatter,
|
||||||
roomLastMessageFormatter,
|
roomLastMessageFormatter,
|
||||||
coroutineDispatchers = testCoroutineDispatchers()
|
coroutineDispatchers = testCoroutineDispatchers(),
|
||||||
|
notificationSettingsService = client.notificationSettingsService(),
|
||||||
|
appScope = this
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,10 @@ class FakeRoomListService : RoomListService {
|
||||||
latestSlidingSyncRange = range
|
latestSlidingSyncRange = range
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun rebuildRoomSummaries() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
override fun allRooms(): RoomList {
|
override fun allRooms(): RoomList {
|
||||||
return SimpleRoomList(
|
return SimpleRoomList(
|
||||||
summaries = allRoomSummariesFlow,
|
summaries = allRoomSummariesFlow,
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,8 @@ class RoomListScreen(
|
||||||
stateContentFormatter = StateContentFormatter(stringProvider),
|
stateContentFormatter = StateContentFormatter(stringProvider),
|
||||||
),
|
),
|
||||||
coroutineDispatchers = coroutineDispatchers,
|
coroutineDispatchers = coroutineDispatchers,
|
||||||
|
notificationSettingsService = matrixClient.notificationSettingsService(),
|
||||||
|
appScope = Singleton.appScope
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue