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

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

Merge "Ignore failing test of FactoryResetPreferenceControllerTest" into main

parents 3c23c38c a7573a1f
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);