diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2015-02-20 21:41:59 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2015-02-20 21:41:59 +0100 |
commit | 722578ca067b8ebe8e4548f0d1a9e13f2c5495b8 (patch) | |
tree | 4678e49d6e9bd1511413c7fbbc396d6b13426264 /tests | |
parent | 99a29dff4e97448ee4b52de8c00001873c0c4b4b (diff) | |
download | cgeo-722578ca067b8ebe8e4548f0d1a9e13f2c5495b8.zip cgeo-722578ca067b8ebe8e4548f0d1a9e13f2c5495b8.tar.gz cgeo-722578ca067b8ebe8e4548f0d1a9e13f2c5495b8.tar.bz2 |
fix #4691: spoiler images not recognized
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/cgeo/geocaching/CgeoApplicationTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/CgeoApplicationTest.java b/tests/src/cgeo/geocaching/CgeoApplicationTest.java index bb61b34..ebe317d 100644 --- a/tests/src/cgeo/geocaching/CgeoApplicationTest.java +++ b/tests/src/cgeo/geocaching/CgeoApplicationTest.java @@ -85,7 +85,8 @@ public class CgeoApplicationTest extends CGeoTestCase { assertThat(tb.getOwnerGuid()).isEqualTo("0564a940-8311-40ee-8e76-7e91b2cf6284"); assertThat(tb.getGoal()).isEqualTo("Kinder erfreuen.<br /><br />Make children happy."); assertThat(tb.getDetails()).startsWith("Auf der CD sind"); - assertThat(tb.getImage()).isEqualTo("http://imgcdn.geocaching.com/track/large/38382780-87a7-4393-8393-78841678ee8c.jpg"); + // the host of the image can vary + assertThat(tb.getImage()).endsWith("geocaching.com/track/large/38382780-87a7-4393-8393-78841678ee8c.jpg"); // Following data can change over time assertThat(tb.getDistance()).isGreaterThanOrEqualTo(10617.8f); assertThat(tb.getLogs().size()).isGreaterThanOrEqualTo(10); |