[Wi-Fi] Fix Wi-Fi broken tests
Bug: 150910070 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi Change-Id: Ie9b9384610857e2999fe4642a93c2d31ce3315f3
This commit is contained in:
@@ -160,11 +160,10 @@ public class WifiSettings2Test {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void setAdditionalSettingsSummaries_wifiWakeupEnabled_displayOn() {
|
||||
final ContentResolver contentResolver = mContext.getContentResolver();
|
||||
when(mWifiManager.isAutoWakeupEnabled()).thenReturn(true);
|
||||
when(mWifiManager.isScanAlwaysAvailable()).thenReturn(false);
|
||||
when(mWifiManager.isScanAlwaysAvailable()).thenReturn(true);
|
||||
Settings.Global.putInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, 0);
|
||||
when(mPowerManager.isPowerSaveMode()).thenReturn(false);
|
||||
|
||||
|
Reference in New Issue
Block a user