Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d591019f authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Fix test relying on implementation details.

Bug: 272403971
Test: treehugger
Change-Id: I5483155eea84b1b14051bda7107d4caaf2687c93
parent c44c3153
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -736,8 +736,8 @@ public class AlarmManagerServiceTest {
        verify(alarmPi).send(eq(mMockContext), eq(0), any(Intent.class),
                onFinishedCaptor.capture(), any(Handler.class), isNull(),
                optionsCaptor.capture());
        assertTrue(optionsCaptor.getValue()
                .getBoolean(BroadcastOptions.KEY_ALARM_BROADCAST, false));
        final BroadcastOptions options = new BroadcastOptions(optionsCaptor.getValue());
        assertTrue(options.isAlarmBroadcast());
    }

    @Test