From 61b757939f09f2dd99afb87473c09d31bcde060f Mon Sep 17 00:00:00 2001 From: rsudev Date: Wed, 4 Dec 2013 20:49:11 +0100 Subject: Move attributes from opencaching.de ids to okapi acodes --- tests/src/cgeo/geocaching/enumerations/CacheAttributeTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src') 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() { -- cgit v1.1