aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/geolocation
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/geolocation')
-rw-r--r--test/org/traccar/geolocation/GeolocationProviderTest.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/org/traccar/geolocation/GeolocationProviderTest.java b/test/org/traccar/geolocation/GeolocationProviderTest.java
index 5a701d859..6a557e5c2 100644
--- a/test/org/traccar/geolocation/GeolocationProviderTest.java
+++ b/test/org/traccar/geolocation/GeolocationProviderTest.java
@@ -1,6 +1,7 @@
package org.traccar.geolocation;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.traccar.BaseTest;
import org.traccar.model.CellTower;
@@ -8,17 +9,14 @@ import org.traccar.model.Network;
public class GeolocationProviderTest extends BaseTest {
- private boolean enable = false;
-
+ @Ignore
@Test
public void test() throws Exception {
- if (enable) {
- testLocationProvider();
- }
+ testLocationProvider();
}
public void testLocationProvider() throws Exception {
- MozillaGeolocationProvider provider = new MozillaGeolocationProvider();
+ MozillaGeolocationProvider provider = new MozillaGeolocationProvider(null);
Network network = new Network(CellTower.from(208, 1, 2, 1234567));