aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars <gc@droescher.eu>2013-10-22 17:25:37 +0200
committerLars <gc@droescher.eu>2013-10-22 17:25:37 +0200
commitee9e844756743cdc2159480e7334dd14ee39c136 (patch)
tree83850b8b477795287415580af40391c54562d24f /tests
parente8c6f33414de6b4cb429cd1bb03c95a9d01bbd51 (diff)
downloadcgeo-ee9e844756743cdc2159480e7334dd14ee39c136.zip
cgeo-ee9e844756743cdc2159480e7334dd14ee39c136.tar.gz
cgeo-ee9e844756743cdc2159480e7334dd14ee39c136.tar.bz2
Try to fix failing test (master)
As I do not have the ability to merge release to master, I did this manually. I hope, that this does not confuse the merging.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
index 8ac2177..52d26ee 100644
--- a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
+++ b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
@@ -29,15 +29,16 @@ public class GCConnectorTest extends AbstractResourceInstrumentationTestCase {
final SearchResult searchResult = ConnectorFactory.searchByViewport(viewport, tokens);
assertNotNull(searchResult);
assertFalse(searchResult.isEmpty());
- assertTrue(searchResult.getGeocodes().contains("GC211WG"));
- // Spiel & Sport GC211WG N 52° 25.413 E 009° 36.049
+ assertTrue(searchResult.getGeocodes().contains("GC4ER5H"));
+ // Edelstein N 52° 25.363 E 009° 36.236
+ // 22.10.13: Changed from GC211WG (archived) to GC4ER5H in same area
}
{
final Viewport viewport = new Viewport(new Geopoint("N 52° 24.000 E 9° 34.500"), new Geopoint("N 52° 26.000 E 9° 38.500"));
final SearchResult searchResult = ConnectorFactory.searchByViewport(viewport, tokens);
assertNotNull(searchResult);
- assertTrue(searchResult.getGeocodes().contains("GC211WG"));
+ assertTrue(searchResult.getGeocodes().contains("GC4ER5H"));
}
} finally {
// restore user settings