Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7b884f5 authored by Yanting Yang's avatar Yanting Yang
Browse files

Fix SupportDashboardActivityTest

Since the screen title of SupportDashboardActivity was changed to
page_tab_title_support string for fixing breadcrumb before.

We need to correct the test case to fix the test function fail.

Bug: 147851992
Test: robotests
Change-Id: I14e30ac2a5210bb2d89657cff5772c06c6e8fe5a
parent c3535eab
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -55,7 +55,8 @@ public class SupportDashboardActivityTest {
        final SearchIndexableRaw value = indexables.get(0);

        assertThat(value.title).isEqualTo(mContext.getString(R.string.page_tab_title_support));
        assertThat(value.screenTitle).isEqualTo(mContext.getString(R.string.settings_label));
        assertThat(value.screenTitle).isEqualTo(
                mContext.getString(R.string.page_tab_title_support));
        assertThat(value.intentTargetPackage).isEqualTo(mContext.getPackageName());
        assertThat(value.intentTargetClass).isEqualTo(SupportDashboardActivity.class.getName());
        assertThat(value.intentAction).isEqualTo(Intent.ACTION_MAIN);