Merge "Fix the broken tests on BatteryTipDialogFragmentTest" into tm-dev

This commit is contained in:
YK Hung
2022-03-03 02:12:27 +00:00
committed by Android (Google) Code Review

View File

@@ -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 youre running low on battery.");
mContext.getText(R.string.battery_tip_dialog_summary_message));
}
@Test