mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
* Show bookmarked nearby locations differently (#2059) * added custom bookmark marker * passed value of bookmarkplacelist in tests * update the nearby markers on clicking bookmark buttons
This commit is contained in:
parent
16927057d0
commit
9451b00a15
5 changed files with 125 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ class NearbyControllerTest {
|
|||
val location = LatLng(0.0, 0.0, 0f)
|
||||
|
||||
val options = loadAttractionsFromLocationToBaseMarkerOptions(
|
||||
location, null, RuntimeEnvironment.application)
|
||||
location, null, RuntimeEnvironment.application, null)
|
||||
|
||||
assertEquals(0, options.size.toLong())
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ class NearbyControllerTest {
|
|||
val location = LatLng(0.0, 0.0, 0f)
|
||||
|
||||
val options = loadAttractionsFromLocationToBaseMarkerOptions(
|
||||
location, emptyList(), RuntimeEnvironment.application)
|
||||
location, emptyList(), RuntimeEnvironment.application, emptyList())
|
||||
|
||||
assertEquals(0, options.size.toLong())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue