aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java b/tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java
index bf271b3..52fc5c8 100644
--- a/tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java
+++ b/tests/src/cgeo/geocaching/connector/oc/OCCZConnectorTest.java
@@ -1,9 +1,6 @@
package cgeo.geocaching.connector.oc;
import static org.assertj.core.api.Assertions.assertThat;
-
-import cgeo.geocaching.connector.oc.OCCZConnector;
-
import junit.framework.TestCase;
public class OCCZConnectorTest extends TestCase {
@@ -11,6 +8,7 @@ public class OCCZConnectorTest extends TestCase {
public static void testGetGeocodeFromUrl() throws Exception {
final OCCZConnector connector = new OCCZConnector();
assertThat(connector.getGeocodeFromUrl("http://opencaching.cz/viewcache.php?cacheid=610")).isEqualTo("OZ0262");
+ assertThat(connector.getGeocodeFromUrl("http://www.opencaching.de/viewcache.php?cacheid=151223")).isNull();
}
}