commit | 910cc87fcb88ae8db9f4ab856dfe91002ec2a159 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Feb 12 01:33:13 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Feb 12 01:33:13 2020 +0000 |
tree | 3189ac24c4761c615ce685eb1057bc9985ad1953 | |
parent | 2819ef134e6462dd4e4f2f0ce885406afa7cd72d [diff] | |
parent | df450cc9f62bc8025cb0301c05203f2692f63dc9 [diff] |
Merge "tether setting: fix test error: updateDisplay_shouldUpdateValue"
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 32cec68..e639b67 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 @@ // 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);