diff options
| -rw-r--r-- | main/src/cgeo/geocaching/connector/oc/OCXMLClient.java | 2 | ||||
| -rw-r--r-- | tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/OCXMLClient.java b/main/src/cgeo/geocaching/connector/oc/OCXMLClient.java index 3e4d5b6..dee7bb9 100644 --- a/main/src/cgeo/geocaching/connector/oc/OCXMLClient.java +++ b/main/src/cgeo/geocaching/connector/oc/OCXMLClient.java @@ -99,7 +99,7 @@ public class OCXMLClient { } private static Parameters getOCXmlQueryParameters(final boolean withDescription, final boolean withLogs, final boolean withImages) { - return new Parameters("modifiedsince", "20060320000000", + return new Parameters("modifiedsince", "20000101000000", "user", "0", "cache", "1", "cachedesc", withDescription ? "1" : "0", diff --git a/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java b/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java index 0957a0d..92c2063 100644 --- a/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java +++ b/tests/src/cgeo/geocaching/connector/opencaching/OCXMLTest.java @@ -48,4 +48,12 @@ public class OCXMLTest extends CGeoTestCase { Settings.setOCConnectorUserName(oldOCName); } } + + public static void testOC0537Description() { + String geoCode = "OC0537"; + Geocache cache = OCXMLClient.getCache(geoCode); + assertNotNull(cache); + + assertFalse(cache.getDescription().length() < 100); + } } |
