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

Commit c4293e28 authored by Yanting Yang's avatar Yanting Yang
Browse files

Ignore failing test of PinPrivacyPreferenceControllerTest

Bug: 313612259
Test: atest
Change-Id: I123bb570a903c8c404c99feec52989304d6401c5
parent 28bbbf78
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(