mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix some tests
This commit is contained in:
parent
2a7ef947ff
commit
4dbf9d0858
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ public class NearbyControllerTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test public void testNullAttractions() {
|
@Test public void testNullAttractions() {
|
||||||
LatLng location = new LatLng(0, 0);
|
LatLng location = new LatLng(0, 0, 0);
|
||||||
|
|
||||||
List<NearbyBaseMarker> options =
|
List<NearbyBaseMarker> options =
|
||||||
NearbyController.loadAttractionsFromLocationToBaseMarkerOptions(
|
NearbyController.loadAttractionsFromLocationToBaseMarkerOptions(
|
||||||
|
|
@ -42,7 +42,7 @@ public class NearbyControllerTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test public void testEmptyList() {
|
@Test public void testEmptyList() {
|
||||||
LatLng location = new LatLng(0, 0);
|
LatLng location = new LatLng(0, 0, 0);
|
||||||
List<Place> emptyList = new ArrayList<>();
|
List<Place> emptyList = new ArrayList<>();
|
||||||
|
|
||||||
List<NearbyBaseMarker> options =
|
List<NearbyBaseMarker> options =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue