Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2322c835 authored by Roshan Pius's avatar Roshan Pius
Browse files

NetworkControllerWifiTest: Fix unit test

WifiInfo.makeCopy(boolean) was changed to WifiInfo.makeCopy(long).

Bug: 156867433
Bug: 162602799
Test: Compiles
Change-Id: Idec6165f6cf9819c56513a65c6958f2390cddbfe
parent 80e87134
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ package com.android.systemui.statusbar.policy;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertEquals;


import static org.junit.Assert.assertTrue;
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.mock;
import static org.mockito.Mockito.when;
import static org.mockito.Mockito.when;


@@ -41,7 +41,7 @@ public class NetworkControllerWifiTest extends NetworkControllerBaseTest {
    @Before
    @Before
    public void setUp() throws Exception {
    public void setUp() throws Exception {
        super.setUp();
        super.setUp();
        when(mWifiInfo.makeCopy(anyBoolean())).thenReturn(mWifiInfo);
        when(mWifiInfo.makeCopy(anyLong())).thenReturn(mWifiInfo);
    }
    }


    @Test
    @Test