mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Improve FakeAppNavigationStateService
This commit is contained in:
committed by
Benoit Marty
parent
b604b062b4
commit
73c3ffac2d
+3
-3
@@ -63,9 +63,9 @@ class DefaultAnalyticsRoomListStateWatcherTest {
|
||||
|
||||
@Test
|
||||
fun `Opening the app in a cold state does nothing`() = runTest {
|
||||
val navigationStateService = FakeAppNavigationStateService().apply {
|
||||
appNavigationState.emit(AppNavigationState(NavigationState.Root, false))
|
||||
}
|
||||
val navigationStateService = FakeAppNavigationStateService(
|
||||
initialAppNavigationState = AppNavigationState(NavigationState.Root, false)
|
||||
)
|
||||
val roomListService = FakeRoomListService().apply {
|
||||
postState(RoomListService.State.Idle)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user