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

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

Ignore failing test of FactoryResetPreferenceControllerTest

Bug: 314930928
Test: atest
Change-Id: I0d5d88754ec8dcd9ee3dc05020382a2095c4256b
parent d3661be0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import com.android.settings.testutils.shadow.ShadowUtils;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
@@ -60,6 +61,7 @@ public class FactoryResetPreferenceControllerTest {
        Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_DEMO_MODE, 0);
    }

    @Ignore("b/314930928")
    @Test
    public void isAvailable_systemUser() {
        mShadowUserManager.setIsAdminUser(true);