diff options
author | Roshan Pius <rpius@google.com> | 2020-04-08 12:20:37 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2020-04-09 09:10:26 -0700 |
commit | 4a6c9ac574b2b801b8babe12291170019a866136 (patch) | |
tree | 5797e7255e0167fef31127c7c9e473e79f60d02f /tests | |
parent | 11c234cedda86e8b3a863f54d2a32d9c6730e258 (diff) |
WifiBackupRestoreTest: Fix a unit test for new auto-join flag
Also, add shell command to toggle auto-join flag.
Bug: 152002227
Test: Manual
adb shell cmd wifi add-network <ssid> open -m -d
adb shell cmd wifi add-suggestion <ssid> open -m -d
Change-Id: I9e62138a92e44d4f7b2dfebf743b3d6fe85e7980
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiBackupRestoreTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiBackupRestoreTest.java b/tests/wifitests/src/com/android/server/wifi/WifiBackupRestoreTest.java index 30c171f20..a2a1a4595 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiBackupRestoreTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiBackupRestoreTest.java @@ -1020,7 +1020,7 @@ public class WifiBackupRestoreTest extends WifiBaseTest { @Test public void testRestoreFromV1_2BackupData() { List<WifiConfiguration> configurations = new ArrayList<>(); - configurations.add(createNetworkForConfigurationWithV1_1Data()); + configurations.add(createNetworkForConfigurationWithV1_2Data()); byte[] backupData = WIFI_BACKUP_DATA_V1_2.getBytes(); List<WifiConfiguration> retrievedConfigurations = |