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

Commit 248232bc authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "AutoOnFeature: Add missing test case" into main am: 1a7bcca7 am: 05f250f4

parents ceb49916 05f250f4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -315,6 +315,13 @@ class AutoOnFeatureTest {
        }
    }

    @Test
    fun apiSetUserEnableToTrue_whenAlreadyEnabled_doNothing() {
        setUserEnabled(true)

        assertThat(shadowOf(context as Application).getBroadcastIntents().size).isEqualTo(0)
    }

    @Test
    fun pause_whenIdle_noTimeSave() {
        pause()