aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-12-04 20:49:11 +0100
committerrsudev <rasch@munin-soft.de>2013-12-04 20:49:11 +0100
commit61b757939f09f2dd99afb87473c09d31bcde060f (patch)
treed97e437b63e169cf9887282a5ef5f7078d87cfba /tests
parent0fa683cd287cac981c5a76995e2dcc470234e29f (diff)
downloadcgeo-61b757939f09f2dd99afb87473c09d31bcde060f.zip
cgeo-61b757939f09f2dd99afb87473c09d31bcde060f.tar.gz
cgeo-61b757939f09f2dd99afb87473c09d31bcde060f.tar.bz2
Move attributes from opencaching.de ids to okapi acodes
Diffstat (limited to 'tests')
-rw-r--r--tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java
index 8d2d114..54db279 100644
--- a/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java
+++ b/tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java
@@ -35,10 +35,10 @@ public class CacheAttributeTest extends AndroidTestCase {
public static void testGetBy() {
final CacheAttribute attribute = CacheAttribute.HIKING; // an attribute that is present in GC and OC
assertTrue("Test cannot be run with this attribute", attribute.gcid >= 0);
- assertTrue("Test cannot be run with this attribute", attribute.ocid >= 0);
+ assertTrue("Test cannot be run with this attribute", attribute.ocacode >= 0);
assertSame(CacheAttribute.getByRawName(attribute.rawName), attribute);
assertSame(CacheAttribute.getByGcId(attribute.gcid), attribute);
- assertSame(CacheAttribute.getByOcId(attribute.ocid), attribute);
+ assertSame(CacheAttribute.getByOcACode(attribute.ocacode), attribute);
}
public static void testIsEnabled() {