Skip to content

Commit

Permalink
Updated test for GCM receiver result
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Oct 5, 2018
1 parent ea2ce3f commit d2225c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ public void shouldPreventOtherGCMReceiversWhenSettingEnabled() throws Exception
GcmBroadcastReceiver gcmBroadcastReceiver = new GcmBroadcastReceiver();
gcmBroadcastReceiver.onReceive(blankActivity, intentGcm);

assertNull(ShadowGcmBroadcastReceiver.lastResultCode);
assertEquals(Activity.RESULT_OK, (int)ShadowGcmBroadcastReceiver.lastResultCode);
assertTrue(ShadowGcmBroadcastReceiver.calledAbortBroadcast);
}

Expand Down

0 comments on commit d2225c3

Please sign in to comment.