Fixing unit tests after rebase

This commit is contained in:
Maxime NATUREL 2022-12-01 11:34:30 +01:00
parent 9dff4ff949
commit 8973f3892a
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class UpdateNotificationSettingsAccountDataUseCaseTest {
aSession.givenSessionId(aDeviceId)
coJustRun { fakeSetNotificationSettingsAccountDataUseCase.execute(any(), any(), any()) }
val areNotificationsEnabled = true
fakeVectorPreferences.givenAreNotificationEnabled(areNotificationsEnabled)
fakeVectorPreferences.givenAreNotificationsEnabledForDevice(areNotificationsEnabled)
fakeUnifiedPushHelper.givenIsBackgroundSyncReturns(true)
every { fakeGetNotificationSettingsAccountDataUseCase.execute(any(), any()) } returns
LocalNotificationSettingsContent(
@ -83,7 +83,7 @@ class UpdateNotificationSettingsAccountDataUseCaseTest {
aSession.givenSessionId(aDeviceId)
coJustRun { fakeSetNotificationSettingsAccountDataUseCase.execute(any(), any(), any()) }
val areNotificationsEnabled = true
fakeVectorPreferences.givenAreNotificationEnabled(areNotificationsEnabled)
fakeVectorPreferences.givenAreNotificationsEnabledForDevice(areNotificationsEnabled)
fakeUnifiedPushHelper.givenIsBackgroundSyncReturns(true)
every { fakeGetNotificationSettingsAccountDataUseCase.execute(any(), any()) } returns
LocalNotificationSettingsContent(