aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorjcardus <joaquim.cardeira@gmail.com>2020-01-20 19:29:54 +0000
committerjcardus <joaquim.cardeira@gmail.com>2020-01-20 19:29:54 +0000
commit0c49e826a765abeef3e2c9f4d25fbbab5af1b18b (patch)
tree160188152c479a30cf9b65f4a8433fab5c895280 /src/test
parentdf740ef9d1f2c339f4ffb0bf96f4a418065c72c8 (diff)
downloadtrackermap-server-0c49e826a765abeef3e2c9f4d25fbbab5af1b18b.tar.gz
trackermap-server-0c49e826a765abeef3e2c9f4d25fbbab5af1b18b.tar.bz2
trackermap-server-0c49e826a765abeef3e2c9f4d25fbbab5af1b18b.zip
here geocoder url config parameter
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/geocoder/GeocoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/geocoder/GeocoderTest.java b/src/test/java/org/traccar/geocoder/GeocoderTest.java
index 85d9bf62f..407779be8 100644
--- a/src/test/java/org/traccar/geocoder/GeocoderTest.java
+++ b/src/test/java/org/traccar/geocoder/GeocoderTest.java
@@ -73,7 +73,7 @@ public class GeocoderTest {
@Ignore
@Test
public void testHere() {
- Geocoder geocoder = new HereGeocoder("", "", null, 0, new AddressFormat());
+ Geocoder geocoder = new HereGeocoder("https://reverse.geocoder.ls.hereapi.com/6.2/reversegeocode.json", "", "", null, 0, new AddressFormat());
String address = geocoder.getAddress(48.8575, 2.2944, null);
assertEquals("6 Avenue Gustave Eiffel, Paris, Île-de-France, FRA", address);
}