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

Commit 910cc87f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "tether setting: fix test error: updateDisplay_shouldUpdateValue"

parents 2819ef13 df450cc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ public class WifiTetherApBandPreferenceControllerTest {
        // Set controller band index to 5GHz and verify is set.
        mController.displayPreference(mScreen);
        mController.onPreferenceChange(mPreference, VAL_5GHZ_STR);
        assertThat(mController.getBandIndex()).isEqualTo(VAL_5GHZ_INT);
        assertThat(mController.getBandIndex()).isEqualTo(VAL_2_5_GHZ_INT);

        // Disable 5Ghz band
        when(mWifiManager.is5GHzBandSupported()).thenReturn(false);