Merge "NetworkControllerWifiTest: Fix unit test" into sc-dev

This commit is contained in:
Roshan Pius
2021-03-21 23:41:31 +00:00
committed by Android (Google) Code Review

View File

@@ -3,7 +3,7 @@ package com.android.systemui.statusbar.policy;
import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.anyBoolean;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
@@ -41,7 +41,7 @@ public class NetworkControllerWifiTest extends NetworkControllerBaseTest {
@Before
public void setUp() throws Exception {
super.setUp();
when(mWifiInfo.makeCopy(anyBoolean())).thenReturn(mWifiInfo);
when(mWifiInfo.makeCopy(anyLong())).thenReturn(mWifiInfo);
}
@Test