Merge "Ignore failing test of PinPrivacyPreferenceControllerTest" into main

This commit is contained in:
Yanting Yang
2023-11-28 13:21:57 +00:00
committed by Android (Google) Code Review

View File

@@ -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(