diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2022-03-24 14:40:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 14:40:58 -0700 |
commit | 80dd9eebab6cb90761d325852536395879d9412f (patch) | |
tree | 7704829173175d3053c9cbde3cb7db43580029ff /src/test/java | |
parent | 2c5d65c30159b620eebce8dd7b8a768c06271031 (diff) | |
parent | 83af89dfe56753ab932014b89646c17577ba913d (diff) | |
download | trackermap-server-80dd9eebab6cb90761d325852536395879d9412f.tar.gz trackermap-server-80dd9eebab6cb90761d325852536395879d9412f.tar.bz2 trackermap-server-80dd9eebab6cb90761d325852536395879d9412f.zip |
Merge pull request #4828 from freyfogle/master
Pass language to OpenCage geocoder
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/geocoder/GeocoderTest.java | 2 |
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 9134194f2..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", 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); } |