Re-enable failed test in FactoryResetPreferenceControllerTest

Bug: 314930928

Test: atest
Change-Id: Icb93a6e01310172d6f51fe332c2ea4cdf6b0c1c5
This commit is contained in:
Fan Wu
2024-03-21 19:00:06 +08:00
parent 9997df38d3
commit e2b861dce0

View File

@@ -46,7 +46,6 @@ import com.google.common.collect.ImmutableList;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -107,7 +106,6 @@ public class FactoryResetPreferenceControllerTest {
Settings.Global.DEVICE_DEMO_MODE, 0);
}
@Ignore("b/314930928")
@Test
public void isAvailable_systemUser() {
when(mUserManager.isAdminUser()).thenReturn(true);