aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-12-04 09:05:14 +0100
committerBananeweizen <bananeweizen@gmx.de>2011-12-04 09:05:14 +0100
commitccb50cb5582d8dd1e79bb3e5b0ec77f4ed788873 (patch)
treee103af2da7cfd737fe6cccd12e7a774a220f417a /tests
parent4141533815ff846c7e735072c75e77c09dda3c84 (diff)
downloadcgeo-ccb50cb5582d8dd1e79bb3e5b0ec77f4ed788873.zip
cgeo-ccb50cb5582d8dd1e79bb3e5b0ec77f4ed788873.tar.gz
cgeo-ccb50cb5582d8dd1e79bb3e5b0ec77f4ed788873.tar.bz2
fix unit test which is red since more than a week
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/cgeoApplicationTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
index 3a0dd6f..2a27862 100644
--- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
@@ -112,10 +112,10 @@ public class cgeoApplicationTest extends ApplicationTestCase<cgeoapplication> {
*/
@MediumTest
public static void testSearchByOwner() {
- final cgSearch search = cgBase.searchByOwner(null, "blafoo", CacheType.EVENT, 0, false);
+ final cgSearch search = cgBase.searchByOwner(null, "blafoo", CacheType.MYSTERY, 0, false);
assertNotNull(search);
- assertEquals(1, search.getGeocodes().size());
- assertTrue(search.getGeocodes().contains("GC36K5E"));
+ assertEquals(3, search.getGeocodes().size());
+ assertTrue(search.getGeocodes().contains("GC36RT6"));
}
/**