aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/geocoder
diff options
context:
space:
mode:
authorEd Freyfogle <freyfogle@users.noreply.github.com>2022-03-24 22:29:46 +0100
committerGitHub <noreply@github.com>2022-03-24 22:29:46 +0100
commitf46a0471e9531febf33072adda9414e290354911 (patch)
tree58d395b6d7cc9ee02914c9d39714b9f22d6c98ca /src/test/java/org/traccar/geocoder
parentd65a3af95e2877b8f0fcb7f44cbfbd8b4f987622 (diff)
downloadtrackermap-server-f46a0471e9531febf33072adda9414e290354911.tar.gz
trackermap-server-f46a0471e9531febf33072adda9414e290354911.tar.bz2
trackermap-server-f46a0471e9531febf33072adda9414e290354911.zip
test with null instead of "en"
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 52dac625a..91431fd6a 100644
--- a/src/test/java/org/traccar/geocoder/GeocoderTest.java
+++ b/src/test/java/org/traccar/geocoder/GeocoderTest.java
@@ -41,7 +41,7 @@ public class GeocoderTest {
@Test
public void testOpenCage() {
Geocoder geocoder = new OpenCageGeocoder(
- "http://api.opencagedata.com/geocode/v1", "SECRET", "en", 0, new AddressFormat());
+ "http://api.opencagedata.com/geocode/v1", "SECRET", null, 0, new AddressFormat());
String address = geocoder.getAddress(34.116302, -118.051519, null);
assertEquals("Charleston Road, California, US", address);
}