From e78d865926b023cda4c4096bcd23b0880015460c Mon Sep 17 00:00:00 2001 From: rsudev Date: Thu, 13 Feb 2014 22:47:15 +0100 Subject: Fix testcase for not logged in premium caches --- tests/src/cgeo/geocaching/CgeoApplicationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src') 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); -- cgit v1.1