diff --git a/app/src/test/kotlin/fr/free/nrw/commons/nearby/NearbyParentFragmentPresenterTest.kt b/app/src/test/kotlin/fr/free/nrw/commons/nearby/NearbyParentFragmentPresenterTest.kt index 3d9648263..cb887d7b4 100644 --- a/app/src/test/kotlin/fr/free/nrw/commons/nearby/NearbyParentFragmentPresenterTest.kt +++ b/app/src/test/kotlin/fr/free/nrw/commons/nearby/NearbyParentFragmentPresenterTest.kt @@ -205,21 +205,6 @@ class NearbyParentFragmentPresenterTest { verify(nearbyParentFragmentView).getMapCenter() } - /** - * Test search this area button became visible after user moved the camera target to far - * away from current target. Distance between these two point is 111.19 km, so our camera target - * is at outside of previously searched region if we set latestSearchRadius below 111.19. Thus, - * setSearchThisAreaButtonVisibility(true) should be verified. - */ - @Test @Ignore - fun testSearchThisAreaButtonVisibleWhenMoveToFarPosition() { - NearbyController.latestSearchLocation = Mockito.spy(LatLng(2.0, 1.0, 0.0F)) - // Distance between these two point is 111.19 km - NearbyController.latestSearchRadius = 111.19 * 1000 // To meter - whenever(nearbyParentFragmentView.isNetworkConnectionEstablished()).thenReturn(true) - verify(nearbyParentFragmentView).setSearchThisAreaButtonVisibility(true) - } - /** * Multi selection should overwrite single selection of marker types. Ie. when user choose *"parks", then they multi select to display all or none, we overwrite previous "park" filter.