diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-06-04 06:29:11 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-06-04 06:29:11 +0200 |
| commit | 51cd584bea567259ed7df4a01881d026b41addf8 (patch) | |
| tree | 1a5905cdefc5e550d66382acb73370f1072480d1 /tests | |
| parent | d6656e4b7bbd0ba1792691ef26feac981826bc22 (diff) | |
| download | cgeo-51cd584bea567259ed7df4a01881d026b41addf8.zip cgeo-51cd584bea567259ed7df4a01881d026b41addf8.tar.gz cgeo-51cd584bea567259ed7df4a01881d026b41addf8.tar.bz2 | |
adapt test case to website changes
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/src/cgeo/geocaching/cgeoApplicationTest.java | 4 |
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) { |
