aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/CgeoApplicationTest.java
diff options
context:
space:
mode:
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 cd80889..387fb0c 100644
--- a/tests/src/cgeo/geocaching/CgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/CgeoApplicationTest.java
@@ -378,8 +378,8 @@ public class CgeoApplicationTest extends CGeoTestCase {
search = ConnectorFactory.searchByViewport(viewport, INVALID_TOKEN).toBlockingObservable().single();
assertNotNull(search);
- // depending on the chosen strategy the cache is part of the search or not
- assertEquals(testStrategy == Strategy.DETAILED, search.getGeocodes().contains(cache.getGeocode()));
+ // In the meantime, premium-member caches are also shown on map when not logged in
+ assertTrue(search.getGeocodes().contains(cache.getGeocode()));
} finally {
Settings.setLiveMapStrategy(strategy);