diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-03 12:09:10 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-03 12:09:10 +1300 |
commit | 5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150 (patch) | |
tree | 30a40114d47e6a82499d2774cc4ff24d8fa5882d /test | |
parent | 4d6719f3e45f89407692e6bc737ac660e8da63d9 (diff) | |
download | traccar-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.tar.gz traccar-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.tar.bz2 traccar-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.zip |
Fix geocoder issue (#4073)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/FilterHandlerTest.java | 6 | ||||
-rw-r--r-- | test/org/traccar/geocoder/GeocoderTest.java | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/test/org/traccar/FilterHandlerTest.java b/test/org/traccar/FilterHandlerTest.java index a8fa14fac..818583eb7 100644 --- a/test/org/traccar/FilterHandlerTest.java +++ b/test/org/traccar/FilterHandlerTest.java @@ -10,11 +10,7 @@ import java.util.Date; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; -public class FilterHandlerTest { - - static { - Context.init(new TestIdentityManager()); - } +public class FilterHandlerTest extends BaseTest { private FilterHandler filtingHandler; private FilterHandler passingHandler; diff --git a/test/org/traccar/geocoder/GeocoderTest.java b/test/org/traccar/geocoder/GeocoderTest.java index 7b3c6662c..167b71bc2 100644 --- a/test/org/traccar/geocoder/GeocoderTest.java +++ b/test/org/traccar/geocoder/GeocoderTest.java @@ -13,7 +13,7 @@ public class GeocoderTest { @Test public void test() throws InterruptedException { Locale.setDefault(Locale.US); - testGoogle(); + testBan(); } private String address; |