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 f3f0863f5..942b5bef8 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 @@ -482,7 +482,7 @@ class NearbyParentFragmentPresenterTest { nearbyPlacesInfo.placeList = null whenever(bookmarkLocationsDao.allBookmarksLocations).thenReturn(Collections.emptyList()) - nearbyPresenter.updateMapMarkers(nearbyPlacesInfo, true) + nearbyPresenter.updateMapMarkers(nearbyPlacesInfo.placeList, latestLocation, true) Mockito.verify(nearbyParentFragmentView).updateMapMarkers(any()) Mockito.verify(nearbyParentFragmentView).setProgressBarVisibility(false) Mockito.verify(nearbyParentFragmentView).updateListFragment(nearbyPlacesInfo.placeList)