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

Commit 819ee3fe authored by Roshan Pius's avatar Roshan Pius Committed by Android (Google) Code Review
Browse files

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

parents 41ec7a8e 2322c835
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