From f5ca009887d1336b827a49f18133e70a9e63d27e Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 13 Nov 2025 18:11:39 +0100 Subject: [PATCH] Restore deleted code --- .../impl/notifications/NotificationSettingsPresenterTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/notifications/NotificationSettingsPresenterTest.kt b/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/notifications/NotificationSettingsPresenterTest.kt index 5821d141cc..33eddc3926 100644 --- a/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/notifications/NotificationSettingsPresenterTest.kt +++ b/features/preferences/impl/src/test/kotlin/io/element/android/features/preferences/impl/notifications/NotificationSettingsPresenterTest.kt @@ -319,6 +319,8 @@ class NotificationSettingsPresenterTest { ), ) presenter.test { + val initialState = awaitLastSequentialItem() + initialState.eventSink.invoke(NotificationSettingsEvents.ChangePushProvider) val withDialog = awaitItem() assertThat(withDialog.showChangePushProviderDialog).isTrue() withDialog.eventSink(NotificationSettingsEvents.SetPushProvider(1))