diff options
| author | rsudev <rasch@munin-soft.de> | 2014-02-13 22:47:15 +0100 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2014-02-13 22:47:15 +0100 |
| commit | e78d865926b023cda4c4096bcd23b0880015460c (patch) | |
| tree | d5fd262f14af4342cf4d2f06c519975c0381a66a /tests/src | |
| parent | eef6aa6aed68245a72cfc9cd979effa3dfa81c02 (diff) | |
| download | cgeo-e78d865926b023cda4c4096bcd23b0880015460c.zip cgeo-e78d865926b023cda4c4096bcd23b0880015460c.tar.gz cgeo-e78d865926b023cda4c4096bcd23b0880015460c.tar.bz2 | |
Fix testcase for not logged in premium caches
Diffstat (limited to 'tests/src')
| -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 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); |
