Merge "Removed isWorkProfile_withSystemUser_returnFalse test" into udc-dev
This commit is contained in:
@@ -87,14 +87,6 @@ public final class DatabaseUtilsTest {
|
||||
assertThat(DatabaseUtils.isWorkProfile(mContext)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isWorkProfile_withSystemUser_returnFalse() {
|
||||
BatteryTestUtils.setWorkProfile(mContext);
|
||||
Shadows.shadowOf(mContext.getSystemService(UserManager.class)).setIsSystemUser(true);
|
||||
|
||||
assertThat(DatabaseUtils.isWorkProfile(mContext)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void sendAppUsageEventData_returnsExpectedList() {
|
||||
// Configures the testing AppUsageEvent data.
|
||||
|
Reference in New Issue
Block a user