diff options
Diffstat (limited to 'test/org')
-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; |