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

Commit e6151c6d authored by Andreas Miko's avatar Andreas Miko Committed by Android (Google) Code Review
Browse files

Merge "Fix PinPrivacyPreferenceControllerTest" into main

parents 007ef134 dfa081da
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -67,14 +67,6 @@ public class PinPrivacyPreferenceControllerTest {
        assertThat(mController.isAvailable()).isTrue();
    }

    @Ignore("b/313612259")
    @Test
    public void isAvailable_lockSetToPinOrPw_shouldReturnTrue() {
        when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(
                CREDENTIAL_TYPE_PASSWORD_OR_PIN);
        assertThat(mController.isAvailable()).isTrue();
    }

    @Test
    public void isAvailable_lockSetToOther_shouldReturnFalse() {
        when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(