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

Commit 05f250f4 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

parents ffae6b60 1a7bcca7
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()