Prepare tests for impending robolectric merge

Setting's ShadowUserManager.reset() was unnecessary and collided with a
newly introduced reset() method in its super class. It has been removed.

Test: make -j56 RunSettingsGoogleRoboTests &&
  make -j56 RunSettingsRoboTests &&
  make -j56 RunSettingsLibRoboTests

Change-Id: I63c50eca0de3581fd4f64f4862233446f5937d0c
This commit is contained in:
James Lemieux
2018-11-19 16:48:58 -08:00
parent bd088c4205
commit 1fc96ea98d
13 changed files with 1 additions and 54 deletions

View File

@@ -63,11 +63,6 @@ public class AddUserWhenLockedPreferenceControllerTest {
mController = new AddUserWhenLockedPreferenceController(mContext, "fake_key");
}
@After
public void tearDown() {
mUserManager.reset();
}
@Test
public void displayPref_NotAdmin_shouldNotDisplay() {
mUserManager.setUserInfo(0, mUserInfo);