diff --git a/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java index 32cec6839a2..e639b679787 100644 --- a/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java @@ -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);