summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Qiu <zqiu@google.com>2017-03-23 10:04:55 -0700
committerPeter Qiu <zqiu@google.com>2017-03-27 09:37:25 -0700
commit99b966a68495bfaa0bf25b350da71fb5f689ff83 (patch)
tree41a539e8f335bc7068429948b8686fdde4fa8802 /tests
parente31ef130820979e9a5487299ad4486291d840272 (diff)
hotspot2: fix Passpoint unit test failures due to Mockito changes
Bug: 36407367 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh -e package com.android.server.wifi.hotspot2 Change-Id: I77751f84c1940717fc754e39df535c912204405a
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
index 32209a357..8008bf68e 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
@@ -123,7 +123,7 @@ public class PasspointManagerTest {
public void setUp() throws Exception {
initMocks(this);
when(mObjectFactory.makeAnqpCache(mClock)).thenReturn(mAnqpCache);
- when(mObjectFactory.makeANQPRequestManager(any(PasspointEventHandler.class), eq(mClock)))
+ when(mObjectFactory.makeANQPRequestManager(any(), eq(mClock)))
.thenReturn(mAnqpRequestManager);
mManager = new PasspointManager(mContext, mWifiNative, mWifiKeyStore, mClock,
mSimAccessor, mObjectFactory, mWifiConfigManager, mWifiConfigStore);