Enable SyncNotificationsWithWorkManager in nightly and debug builds (#5573)
* Enable `SyncNotificationsWithWorkManager` in nightly and debug builds * Fix tests
This commit is contained in:
parent
e9bd9a86ed
commit
dd395a5214
2 changed files with 3 additions and 2 deletions
|
|
@ -690,7 +690,7 @@ class DefaultPushHandlerTest {
|
|||
notificationChannels: FakeNotificationChannels = FakeNotificationChannels(),
|
||||
pushHistoryService: PushHistoryService = FakePushHistoryService(),
|
||||
syncOnNotifiableEvent: SyncOnNotifiableEvent = SyncOnNotifiableEvent {},
|
||||
featureFlagService: FakeFeatureFlagService = FakeFeatureFlagService(),
|
||||
featureFlagService: FakeFeatureFlagService = FakeFeatureFlagService(initialState = mapOf(FeatureFlags.SyncNotificationsWithWorkManager.key to false)),
|
||||
workManagerScheduler: FakeWorkManagerScheduler = FakeWorkManagerScheduler(),
|
||||
): DefaultPushHandler {
|
||||
return DefaultPushHandler(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue