Merge "Fix the broken tests on BatteryTipDialogFragmentTest" into tm-dev am: c08c6c5c16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17052912 Change-Id: I9e9b55f896a7a8567e9ae8d6df287a162a0dd307
This commit is contained in:
@@ -242,9 +242,7 @@ public class BatteryTipDialogFragmentTest {
|
||||
ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog);
|
||||
|
||||
assertThat(shadowDialog.getMessage()).isEqualTo(
|
||||
"Your apps are using a normal amount of battery. If apps use too much battery, "
|
||||
+ "your phone will suggest actions you can take.\n\nYou can always turn"
|
||||
+ " on Battery Saver if you’re running low on battery.");
|
||||
mContext.getText(R.string.battery_tip_dialog_summary_message));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user