aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 15:31:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 15:31:44 +1300
commit5026cdd07c82371f4ca8f877da818efd98817a1a (patch)
tree40b2329e4a9aa11ed5b240f593261b2f5ad907f4
parenta10033d165293c349fc513e049583d3c0ac3e06c (diff)
downloadtraccar-server-5026cdd07c82371f4ca8f877da818efd98817a1a.tar.gz
traccar-server-5026cdd07c82371f4ca8f877da818efd98817a1a.tar.bz2
traccar-server-5026cdd07c82371f4ca8f877da818efd98817a1a.zip
Fix unit testing
-rw-r--r--test/org/traccar/TestIdentityManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/org/traccar/TestIdentityManager.java b/test/org/traccar/TestIdentityManager.java
index f9d95927d..1b3f95ad8 100644
--- a/test/org/traccar/TestIdentityManager.java
+++ b/test/org/traccar/TestIdentityManager.java
@@ -15,6 +15,11 @@ public final class TestIdentityManager implements IdentityManager {
}
@Override
+ public long addUnknownDevice(String uniqueId) {
+ return 1;
+ }
+
+ @Override
public Device getById(long id) {
return createDevice();
}