From 091e20a21ee3b19ba94ac01aaa5c51d0c2c0ae6c Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Fri, 31 May 2013 17:36:44 +0200 Subject: refactoring: revert test to previous state after GC changes --- tests/src/cgeo/geocaching/cgeoApplicationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/src/cgeo') diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java index 82e31f7..a877660 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.COMMUNICATION_ERROR, search.getError()); + assertEquals(StatusCode.UNPUBLISHED_CACHE, search.getError()); } /** -- cgit v1.1