Update method name

Test: RoboTests
Bug: 184709662
Change-Id: I3a998a151f9647efae00909e2b4f88fa27d645eb
This commit is contained in:
Julia Reynolds
2021-06-09 09:53:09 -04:00
parent 8b3f0e8d52
commit b70d3d5c13
2 changed files with 17 additions and 17 deletions

View File

@@ -160,9 +160,9 @@ public class RecentConversationsPreferenceControllerTest {
true);
assertThat(mController.getSummary(ccw).toString()).contains(
ccw.getParentNotificationChannelGroup().getName());
ccw.getNotificationChannelGroup().getName());
assertThat(mController.getSummary(ccw).toString()).contains(
ccw.getParentNotificationChannel().getName());
ccw.getNotificationChannel().getName());
}
@Test
@@ -175,7 +175,7 @@ public class RecentConversationsPreferenceControllerTest {
true);
assertThat(mController.getSummary(ccw).toString()).isEqualTo(
ccw.getParentNotificationChannel().getName());
ccw.getNotificationChannel().getName());
}
@Test
@@ -207,7 +207,7 @@ public class RecentConversationsPreferenceControllerTest {
ccw.getShortcutInfo().getPackage());
assertThat(extras.getInt(AppInfoBase.ARG_PACKAGE_UID)).isEqualTo(ccw.getUid());
assertThat(extras.getString(Settings.EXTRA_CHANNEL_ID)).isEqualTo(
ccw.getParentNotificationChannel().getId());
ccw.getNotificationChannel().getId());
assertThat(extras.getString(Settings.EXTRA_CONVERSATION_ID)).isEqualTo(
ccw.getShortcutInfo().getId());
}
@@ -230,7 +230,7 @@ public class RecentConversationsPreferenceControllerTest {
// expected since it tries to launch an activity
}
verify(mBackend).createConversationNotificationChannel(
si.getPackage(), ccw.getUid(), ccw.getParentNotificationChannel(), si.getId());
si.getPackage(), ccw.getUid(), ccw.getNotificationChannel(), si.getId());
}
@Test