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

Commit b2ad73da authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by android-build-merger
Browse files

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

am: 28cfb72a

Change-Id: I5543b540f1b61a4c0f844f11886e45d56959162d
parents e8516632 28cfb72a
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();