aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/src/cgeo/geocaching/cgeoApplicationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
index 314c53a..3481c35 100644
--- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
@@ -121,7 +121,7 @@ public class cgeoApplicationTest extends CGeoTestCase {
public static void testSearchByGeocodeNotExisting() {
final SearchResult search = Geocache.searchByGeocode("GC123456", null, 0, true, null);
assertNotNull(search);
- assertEquals(StatusCode.UNPUBLISHED_CACHE, search.getError());
+ assertEquals(StatusCode.COMMUNICATION_ERROR, search.getError());
}
/**
@@ -191,7 +191,7 @@ public class cgeoApplicationTest extends CGeoTestCase {
/**
* mock the "exclude disabled caches" and "exclude my caches" options for the execution of the runnable
- *
+ *
* @param runnable
*/
private static void withMockedFilters(Runnable runnable) {