aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/cgeo/geocaching/enumerations/LogTypeTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java b/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
index 81ca33b..47879a0 100644
--- a/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
+++ b/tests/src/cgeo/geocaching/enumerations/LogTypeTest.java
@@ -17,8 +17,7 @@ public class LogTypeTest extends AndroidTestCase {
}
public static void testGetByType() {
- assertEquals(LogType.UNKNOWN, LogType.getByIconName(""));
- assertEquals(LogType.UNKNOWN, LogType.getByIconName(null));
+ assertEquals(LogType.UNKNOWN, LogType.getByType("obviously unknown type"));
assertEquals(LogType.GRABBED_IT, LogType.getByType("grabbed it"));
assertEquals(LogType.GRABBED_IT, LogType.getByType(" gRAbbed IT "));
}