aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/BaseTest.java
diff options
context:
space:
mode:
authorValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-20 23:06:09 +0100
committerValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-20 23:06:09 +0100
commit8d8bab8a2df30629fb612b0573b2bd5f46c4b05e (patch)
treee8fbcb26b185cc15843bedd14b7279eef26f3836 /test/org/traccar/BaseTest.java
parenteca7ba9dcedb01c98b6945890f45f2b19bf049a7 (diff)
downloadtrackermap-server-8d8bab8a2df30629fb612b0573b2bd5f46c4b05e.tar.gz
trackermap-server-8d8bab8a2df30629fb612b0573b2bd5f46c4b05e.tar.bz2
trackermap-server-8d8bab8a2df30629fb612b0573b2bd5f46c4b05e.zip
T580W: review comments fixes 2
Diffstat (limited to 'test/org/traccar/BaseTest.java')
-rw-r--r--test/org/traccar/BaseTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/BaseTest.java b/test/org/traccar/BaseTest.java
index 4b9ee5451..87ff3842c 100644
--- a/test/org/traccar/BaseTest.java
+++ b/test/org/traccar/BaseTest.java
@@ -40,7 +40,7 @@ public class BaseTest {
@Override
public boolean lookupAttributeBoolean(
long deviceId, String attributeName, boolean defaultValue, boolean lookupConfig) {
- return defaultValue;
+ return (deviceId == 2 && attributeName == "tk103.alternative" && lookupConfig) ? true : defaultValue;
}
@Override