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

Commit 3a5aaa90 authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Fixes PasswordBouncerViewModelTest when flexi is on

The problem was that the modified test method shouldn't run with flexi
on

Bug: 283121968
Test: N/A
Flag: EXEMPT test only
Change-Id: I27452920253e2671c5fd0a358f78257e464891d1
parent b9dd493b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import com.android.systemui.authentication.shared.model.AuthenticationMethodMode
import com.android.systemui.bouncer.domain.interactor.bouncerInteractor
import com.android.systemui.coroutines.collectLastValue
import com.android.systemui.coroutines.collectValues
import com.android.systemui.flags.DisableSceneContainer
import com.android.systemui.flags.EnableSceneContainer
import com.android.systemui.inputmethod.data.model.InputMethodModel
import com.android.systemui.inputmethod.data.repository.fakeInputMethodRepository
@@ -348,6 +349,7 @@ class PasswordBouncerViewModelTest : SysuiTestCase() {
        }

    @EnableFlags(com.android.systemui.Flags.FLAG_COMPOSE_BOUNCER)
    @DisableSceneContainer
    @Test
    fun consumeConfirmKeyEvents_toPreventItFromPropagating() =
        testScope.runTest { verifyConfirmKeyEventsBehavior(keyUpEventConsumed = true) }