diff options
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/TestIdentityManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/TestIdentityManager.java b/src/test/java/org/traccar/TestIdentityManager.java index af5dd22df..7d2865e74 100644 --- a/src/test/java/org/traccar/TestIdentityManager.java +++ b/src/test/java/org/traccar/TestIdentityManager.java @@ -53,7 +53,10 @@ public final class TestIdentityManager implements IdentityManager { @Override public String lookupAttributeString( long deviceId, String attributeName, String defaultValue, boolean lookupServer, boolean lookupConfig) { - return "alarm,result"; + if (attributeName.equals("filter.skipAttributes")) { + return "alarm,result"; + } + return defaultValue; } @Override |