diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-12 11:29:01 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-12 11:29:01 -0700 |
commit | 50fb8ee8347481abec7aeb5431426ef12dfb0617 (patch) | |
tree | f3ee69a97de7c979ae2948e8a0defc6946a5fbaa /src/test/java/org/traccar/ProtocolTest.java | |
parent | dbcde8aee59ebaa488cf9730a0356817e282ee84 (diff) | |
download | trackermap-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.java | 2 |
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(); |