We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 720893f commit 4df7b32Copy full SHA for 4df7b32
OneSignalSDK/unittest/src/test/java/com/test/onesignal/GenerateNotificationRunner.java
@@ -719,9 +719,10 @@ private void runImplicitServices() throws Exception {
719
720
@Test
721
@Config(shadows = { ShadowGenerateNotification.class })
722
- public void shouldUpdateBadgesWhenDismissingNotification() {
+ public void shouldUpdateBadgesWhenDismissingNotification() throws Exception {
723
Bundle bundle = getBaseNotifBundle();
724
NotificationBundleProcessor_ProcessFromFCMIntentService(blankActivity, bundle);
725
+ threadAndTaskWait();
726
assertEquals(notifMessage, ShadowRoboNotificationManager.getLastShadowNotif().getContentText());
727
assertEquals(1, ShadowBadgeCountUpdater.lastCount);
728
0 commit comments