Fix test compilation
This commit is contained in:
@@ -325,7 +325,9 @@ class RoomListPresenterTests {
|
||||
client.roomListService,
|
||||
lastMessageTimestampFormatter,
|
||||
roomLastMessageFormatter,
|
||||
coroutineDispatchers = testCoroutineDispatchers()
|
||||
coroutineDispatchers = testCoroutineDispatchers(),
|
||||
notificationSettingsService = client.notificationSettingsService(),
|
||||
appScope = this
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -58,6 +58,10 @@ class FakeRoomListService : RoomListService {
|
||||
latestSlidingSyncRange = range
|
||||
}
|
||||
|
||||
override fun rebuildRoomSummaries() {
|
||||
|
||||
}
|
||||
|
||||
override fun allRooms(): RoomList {
|
||||
return SimpleRoomList(
|
||||
summaries = allRoomSummariesFlow,
|
||||
|
||||
@@ -78,6 +78,8 @@ class RoomListScreen(
|
||||
stateContentFormatter = StateContentFormatter(stringProvider),
|
||||
),
|
||||
coroutineDispatchers = coroutineDispatchers,
|
||||
notificationSettingsService = matrixClient.notificationSettingsService(),
|
||||
appScope = Singleton.appScope
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user