aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/cgeoApplicationTest.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-06-04 06:29:11 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-06-04 06:29:11 +0200
commit51cd584bea567259ed7df4a01881d026b41addf8 (patch)
tree1a5905cdefc5e550d66382acb73370f1072480d1 /tests/src/cgeo/geocaching/cgeoApplicationTest.java
parentd6656e4b7bbd0ba1792691ef26feac981826bc22 (diff)
downloadcgeo-51cd584bea567259ed7df4a01881d026b41addf8.zip
cgeo-51cd584bea567259ed7df4a01881d026b41addf8.tar.gz
cgeo-51cd584bea567259ed7df4a01881d026b41addf8.tar.bz2
adapt test case to website changes
Diffstat (limited to 'tests/src/cgeo/geocaching/cgeoApplicationTest.java')
-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) {