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

Commit afe6b0af authored by Ioana Alexandru's avatar Ioana Alexandru Committed by Android (Google) Code Review
Browse files

Merge "Clear invocations earlier in dnd test" into main

parents 9fd0f80e e7451332
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -529,6 +529,8 @@ class ClockEventControllerTest : SysuiTestCase() {
    fun listenForDnd_onDndChange_updatesClockZenMode() =
        testScope.runTest {
            underTest.listenForDnd(testScope.backgroundScope)
            runCurrent()
            clearInvocations(events)

            zenModeRepository.activateMode(dndModeId)
            runCurrent()
@@ -537,7 +539,6 @@ class ClockEventControllerTest : SysuiTestCase() {
                .onZenDataChanged(
                    eq(ZenData(ZenMode.IMPORTANT_INTERRUPTIONS, R.string::dnd_is_on.name))
                )
            clearInvocations(events)

            zenModeRepository.deactivateMode(dndModeId)
            runCurrent()