mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Fix test compilation
This commit is contained in:
+3
-1
@@ -325,7 +325,9 @@ class RoomListPresenterTests {
|
|||||||
client.roomListService,
|
client.roomListService,
|
||||||
lastMessageTimestampFormatter,
|
lastMessageTimestampFormatter,
|
||||||
roomLastMessageFormatter,
|
roomLastMessageFormatter,
|
||||||
coroutineDispatchers = testCoroutineDispatchers()
|
coroutineDispatchers = testCoroutineDispatchers(),
|
||||||
|
notificationSettingsService = client.notificationSettingsService(),
|
||||||
|
appScope = this
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user