From 4da6ed922e37670ebc33efdf754ebea83d30c556 Mon Sep 17 00:00:00 2001 From: Kanahia Date: Fri, 17 May 2024 17:36:01 +0530 Subject: [PATCH] Fixed failing tests --- .../nrw/commons/nearby/NearbyParentFragmentPresenterTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)