diff options
| author | rsudev <rasch@munin-soft.de> | 2013-08-22 11:10:06 +0200 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2013-08-22 11:10:06 +0200 |
| commit | 390f7224aad5bd3b21842f67797652da6b0d5c04 (patch) | |
| tree | 71e267df09d52fdb44e52550f9ba4242ed709f06 /tests/src | |
| parent | c96c4c17ea227eeb5e8b3d18ed2d41c6463266c4 (diff) | |
| download | cgeo-390f7224aad5bd3b21842f67797652da6b0d5c04.zip cgeo-390f7224aad5bd3b21842f67797652da6b0d5c04.tar.gz cgeo-390f7224aad5bd3b21842f67797652da6b0d5c04.tar.bz2 | |
Fixes testOwnCache (Cache was changed)
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/cgeo/geocaching/connector/gc/GCParserTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java b/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java index 57eb9d0..de52171 100644 --- a/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java +++ b/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java @@ -68,9 +68,9 @@ public class GCParserTest extends AbstractResourceInstrumentationTestCase { final Geocache cache = parseCache(R.raw.own_cache); assertNotNull(cache); assertTrue(CollectionUtils.isNotEmpty(cache.getSpoilers())); - assertEquals(1, cache.getSpoilers().size()); - final Image spoiler = cache.getSpoilers().get(0); - assertEquals("http://img.geocaching.com/cache/large/3f9365c3-f55c-4e55-9992-ee0e5175712c.jpg", spoiler.getUrl()); + assertEquals(2, cache.getSpoilers().size()); + final Image spoiler = cache.getSpoilers().get(1); + assertEquals("http://img.geocaching.com/cache/large/6ddbbe82-8762-46ad-8f4c-57d03f4b0564.jpeg", spoiler.getUrl()); assertEquals("SPOILER", spoiler.getTitle()); assertNull(spoiler.getDescription()); } |
