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

Commit a3a2c7eb authored by Yanting Yang's avatar Yanting Yang Committed by Android (Google) Code Review
Browse files

Merge "Ignore failing test of PinPrivacyPreferenceControllerTest" into main

parents e61bdff3 c4293e28
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import androidx.preference.SwitchPreference;
import com.android.internal.widget.LockPatternUtils;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -66,6 +67,7 @@ public class PinPrivacyPreferenceControllerTest {
        assertThat(mController.isAvailable()).isTrue();
    }

    @Ignore("b/313612259")
    @Test
    public void isAvailable_lockSetToPinOrPw_shouldReturnTrue() {
        when(mLockPatternUtils.getCredentialTypeForUser(TEST_USER_ID)).thenReturn(