Fixing unit tests after rebase
This commit is contained in:
parent
9dff4ff949
commit
8973f3892a
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue