aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/geocoder
diff options
context:
space:
mode:
authorjcardus <joaquim.cardeira@gmail.com>2020-01-21 18:24:03 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2020-01-21 10:24:03 -0800
commit0c40b37a389ae681152f320e47731ee3012f17eb (patch)
tree0218c165eb05dd03ece2d075b94998e2a93d32c4 /src/test/java/org/traccar/geocoder
parentdf740ef9d1f2c339f4ffb0bf96f4a418065c72c8 (diff)
downloadtraccar-server-0c40b37a389ae681152f320e47731ee3012f17eb.tar.gz
traccar-server-0c40b37a389ae681152f320e47731ee3012f17eb.tar.bz2
traccar-server-0c40b37a389ae681152f320e47731ee3012f17eb.zip
Here geocoder url config parameter (#4472)
* here geocoder url config parameter * here geocoder url config parameter * added new parameter apiKey and kept app_code for retro compatibility added default url for here * fixed ident removed url from here geocode test * fixed ident intellij uses 2 spaces, this project uses 4. * fixed ident intellij uses 2 spaces, this project uses 4. * url should be null not "" * wrong file
Diffstat (limited to 'src/test/java/org/traccar/geocoder')
-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..9f59d0b23 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(null, "", "", null, 0, new AddressFormat());
String address = geocoder.getAddress(48.8575, 2.2944, null);
assertEquals("6 Avenue Gustave Eiffel, Paris, Île-de-France, FRA", address);
}