Fix broken tests

Test: robo tests
Fixes: 130871450
Change-Id: If7b01147f5680392c7635f3a3b4e558aa56a633e
This commit is contained in:
Julia Reynolds
2019-04-19 10:01:53 -04:00
parent fb250122f8
commit 9c5a19319b
8 changed files with 17 additions and 27 deletions

View File

@@ -139,7 +139,7 @@ public class AllowSoundPreferenceControllerTest {
}
@Test
public void testUpdateState_notConfigurable() {
public void testUpdateState_notBlockable() {
String lockedId = "locked";
NotificationBackend.AppRow appRow = new NotificationBackend.AppRow();
appRow.lockedChannelId = lockedId;
@@ -150,7 +150,7 @@ public class AllowSoundPreferenceControllerTest {
Preference pref = new RestrictedSwitchPreference(mContext);
mController.updateState(pref);
assertFalse(pref.isEnabled());
assertTrue(pref.isEnabled());
}
@Test