summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java1
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiConfigStoreLegacyTest.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
index 5c78d0de3..61c74180e 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
@@ -2113,6 +2113,7 @@ public class WifiConfigManagerTest {
final WifiConfiguration passpointConfig =
WifiConfigurationTestUtil.createPasspointNetwork();
passpointConfig.creatorUid = UserHandle.getUid(user1, appId);
+ passpointConfig.isLegacyPasspointConfig = true;
// Set up the shared store data to contain one legacy Passpoint configuration.
List<WifiConfiguration> sharedNetworks = new ArrayList<WifiConfiguration>() {
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreLegacyTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreLegacyTest.java
index d30ad57de..4b4e875a1 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreLegacyTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigStoreLegacyTest.java
@@ -142,6 +142,7 @@ public class WifiConfigStoreLegacyTest {
WifiConfigStoreLegacy.WifiConfigStoreDataLegacy storeData = mWifiConfigStore.read();
// Update the expected configuration for Passpoint network.
+ passpointNetwork.isLegacyPasspointConfig = true;
passpointNetwork.FQDN = fqdn;
passpointNetwork.providerFriendlyName = providerFriendlyName;
passpointNetwork.roamingConsortiumIds = roamingConsortiumIds;