Fix test compilation

This commit is contained in:
David Langley
2023-09-14 19:28:56 +01:00
parent 43fab70d30
commit f0aaa56425
3 changed files with 9 additions and 1 deletions

View File

@@ -325,7 +325,9 @@ class RoomListPresenterTests {
client.roomListService,
lastMessageTimestampFormatter,
roomLastMessageFormatter,
coroutineDispatchers = testCoroutineDispatchers()
coroutineDispatchers = testCoroutineDispatchers(),
notificationSettingsService = client.notificationSettingsService(),
appScope = this
)
)
}

View File

@@ -58,6 +58,10 @@ class FakeRoomListService : RoomListService {
latestSlidingSyncRange = range
}
override fun rebuildRoomSummaries() {
}
override fun allRooms(): RoomList {
return SimpleRoomList(
summaries = allRoomSummariesFlow,

View File

@@ -78,6 +78,8 @@ class RoomListScreen(
stateContentFormatter = StateContentFormatter(stringProvider),
),
coroutineDispatchers = coroutineDispatchers,
notificationSettingsService = matrixClient.notificationSettingsService(),
appScope = Singleton.appScope
)
)