aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/ProtocolTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-12 11:29:01 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-12 11:29:01 -0700
commit50fb8ee8347481abec7aeb5431426ef12dfb0617 (patch)
treef3ee69a97de7c979ae2948e8a0defc6946a5fbaa /src/test/java/org/traccar/ProtocolTest.java
parentdbcde8aee59ebaa488cf9730a0356817e282ee84 (diff)
downloadtrackermap-server-50fb8ee8347481abec7aeb5431426ef12dfb0617.tar.gz
trackermap-server-50fb8ee8347481abec7aeb5431426ef12dfb0617.tar.bz2
trackermap-server-50fb8ee8347481abec7aeb5431426ef12dfb0617.zip
Test for device id
Diffstat (limited to 'src/test/java/org/traccar/ProtocolTest.java')
-rw-r--r--src/test/java/org/traccar/ProtocolTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/ProtocolTest.java b/src/test/java/org/traccar/ProtocolTest.java
index bfff4eef3..56551f247 100644
--- a/src/test/java/org/traccar/ProtocolTest.java
+++ b/src/test/java/org/traccar/ProtocolTest.java
@@ -205,6 +205,8 @@ public class ProtocolTest extends BaseTest {
assertNotNull("protocol is null", position.getProtocol());
+ assertTrue("deviceId > 0", position.getDeviceId() > 0);
+
}
Map<String, Object> attributes = position.getAttributes();