diff --git a/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootPresenterTest.kt b/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootPresenterTest.kt index ad561127da..80d4706c33 100644 --- a/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootPresenterTest.kt +++ b/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/root/PreferencesRootPresenterTest.kt @@ -215,14 +215,7 @@ class PreferencesRootPresenterTest { createPresenter( featureFlagService = FakeFeatureFlagService( getAvailableFeaturesResult = { _, _ -> - listOf( - FakeFeature( - key = "feature_1", - title = "Feature 1", - isInLabs = true, - isFinished = true, - ) - ) + emptyList() } ), matrixClient = FakeMatrixClient( @@ -230,6 +223,7 @@ class PreferencesRootPresenterTest { accountManagementUrlResult = { Result.success(null) }, ), ).test { + skipItems(1) assertThat(awaitItem().showLabsItem).isFalse() cancelAndIgnoreRemainingEvents() }