aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2011-12-19 21:42:17 +0100
committerblafoo <github@blafoo.de>2011-12-19 21:42:17 +0100
commit168e614b1000431c0dc53408ad372ed1af6e6253 (patch)
treec0faef4afa1e8b5339632232151dad017a3a9f94 /tests
parentf3964e5801a9ab7e0357be6151c09b7ac4b30438 (diff)
downloadcgeo-168e614b1000431c0dc53408ad372ed1af6e6253.zip
cgeo-168e614b1000431c0dc53408ad372ed1af6e6253.tar.gz
cgeo-168e614b1000431c0dc53408ad372ed1af6e6253.tar.bz2
Fix #903 Rename field "reason" to "listId"
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/cgeoApplicationTest.java2
-rw-r--r--tests/src/cgeo/geocaching/test/mock/MockedCache.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/cgeoApplicationTest.java b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
index f23a6ce..adacc2d 100644
--- a/tests/src/cgeo/geocaching/cgeoApplicationTest.java
+++ b/tests/src/cgeo/geocaching/cgeoApplicationTest.java
@@ -86,7 +86,7 @@ public class cgeoApplicationTest extends ApplicationTestCase<cgeoapplication> {
*/
@MediumTest
public static cgCache testSearchByGeocode(final String geocode) {
- final cgSearch search = cgBase.searchByGeocode(geocode, null, 1, true, null);
+ final cgSearch search = cgBase.searchByGeocode(geocode, null, 0, true, null);
assertNotNull(search);
if (Settings.isPremiumMember() || search.error == null) {
assertEquals(1, search.getGeocodes().size());
diff --git a/tests/src/cgeo/geocaching/test/mock/MockedCache.java b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
index 911ee1c..38061e0 100644
--- a/tests/src/cgeo/geocaching/test/mock/MockedCache.java
+++ b/tests/src/cgeo/geocaching/test/mock/MockedCache.java
@@ -35,6 +35,7 @@ public abstract class MockedCache implements ICache {
this.mockedDataUser = mockedDataUser;
}
+ @SuppressWarnings("static-method")
public String getDateFormat() {
return "dd/MM/yyyy";
}