summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2018-10-16 05:41:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-10-16 05:41:01 +0000
commit92c69202c938c0e77ff4cac5b49e54ea18f08593 (patch)
tree53994b5092543db229914fa0674976a54c8f4a67
parentb6b5b0d3859fec5ef0af9018a3334553f0a19ccf (diff)
parent7e06fe6d02a17e9930220b1b9f6ff92564714858 (diff)
Merge "Don't depend on the specific permission check number."
-rw-r--r--tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
index d413e5bb4..9c988a0e0 100644
--- a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java
@@ -999,7 +999,7 @@ public class ClientModeImplTest {
config.networkId = FRAMEWORK_NETWORK_ID + 1;
setupAndStartConnectSequence(config);
validateSuccessfulConnectSequence(config);
- verify(mWifiPermissionsUtil, times(4)).checkNetworkSettingsPermission(anyInt());
+ verify(mWifiPermissionsUtil, atLeastOnce()).checkNetworkSettingsPermission(anyInt());
}
/**