aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-03 12:09:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-03 12:09:10 +1300
commit5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150 (patch)
tree30a40114d47e6a82499d2774cc4ff24d8fa5882d /test/org/traccar
parent4d6719f3e45f89407692e6bc737ac660e8da63d9 (diff)
downloadtrackermap-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.tar.gz
trackermap-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.tar.bz2
trackermap-server-5449930102d9a1dc6ef6bb09f6bcbdcb2f8bf150.zip
Fix geocoder issue (#4073)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/FilterHandlerTest.java6
-rw-r--r--test/org/traccar/geocoder/GeocoderTest.java2
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;