mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix test compilation
This commit is contained in:
+6
-6
@@ -43,9 +43,9 @@ class DefaultAnalyticsRoomListStateWatcherTest {
|
|||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// Make sure it's warm by changing its internal state
|
// Make sure it's warm by changing its internal state
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// The transaction should be present now
|
// The transaction should be present now
|
||||||
@@ -110,9 +110,9 @@ class DefaultAnalyticsRoomListStateWatcherTest {
|
|||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// Make sure it's warm by changing its internal state
|
// Make sure it's warm by changing its internal state
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// The transaction should be present now
|
// The transaction should be present now
|
||||||
@@ -145,9 +145,9 @@ class DefaultAnalyticsRoomListStateWatcherTest {
|
|||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// Make sure it's warm by changing its internal state
|
// Make sure it's warm by changing its internal state
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = false))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
navigationStateService.appNavigationState.emit(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
navigationStateService.emitNavigationState(AppNavigationState(navigationState = NavigationState.Root, isInForeground = true))
|
||||||
runCurrent()
|
runCurrent()
|
||||||
|
|
||||||
// The transaction was never added
|
// The transaction was never added
|
||||||
|
|||||||
Reference in New Issue
Block a user