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

Commit dfa081da authored by Andreas Miko's avatar Andreas Miko
Browse files

Fix PinPrivacyPreferenceControllerTest

isAvailable_lockSetToPinOrPw_shouldReturnTrue() was never functional and is not a valid test case because the functionality was removed in a later patchset within ag/21369281

Test: PinPrivacyPreferenceControllerTest
Bug: b/313612259
Flag: NONE

Change-Id: Id8c91b8d7267a74eb84225e73043f1d4308b6ce0
parent 859f2257
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(