diff options
author | Peter Qiu <zqiu@google.com> | 2017-03-23 10:04:55 -0700 |
---|---|---|
committer | Peter Qiu <zqiu@google.com> | 2017-03-27 09:37:25 -0700 |
commit | 99b966a68495bfaa0bf25b350da71fb5f689ff83 (patch) | |
tree | 41a539e8f335bc7068429948b8686fdde4fa8802 /tests | |
parent | e31ef130820979e9a5487299ad4486291d840272 (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.java | 2 |
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); |