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

Commit 28cfb72a authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by Android (Google) Code Review
Browse files

Merge "Fix WifiDetailPreferenceControllerTest new test case failure" into qt-dev

parents 5f328aff b87e5455
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1653,7 +1653,7 @@ public class WifiDetailPreferenceControllerTest {
        displayAndResume();

        // change as not in range
        when(mockAccessPoint.matches(any(WifiConfiguration.class))).thenReturn(false);
        when(mockAccessPoint.matches(any(AccessPoint.class))).thenReturn(false);
        boolean changed = mController.updateAccessPoint();

        assertThat(changed).isTrue();
@@ -1666,7 +1666,7 @@ public class WifiDetailPreferenceControllerTest {
        displayAndResume();

        // change as in range
        when(mockAccessPoint.matches(any(WifiConfiguration.class))).thenReturn(true);
        when(mockAccessPoint.matches(any(AccessPoint.class))).thenReturn(true);
        boolean changed = mController.updateAccessPoint();

        assertThat(changed).isTrue();