aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorJan-Piet Mens <jpmens@gmail.com>2017-06-14 23:43:01 +0200
committerJan-Piet Mens <jpmens@gmail.com>2017-06-14 23:43:01 +0200
commitd01591f1c0de50b6aa399b0ece00d422897a48e5 (patch)
tree7bf259a4279a346a23456c0956bca0c912981fca /test/org/traccar/protocol
parentc432acb0fbc43433c2ada22de50bfdb86c1dcb03 (diff)
downloadtrackermap-server-d01591f1c0de50b6aa399b0ece00d422897a48e5.tar.gz
trackermap-server-d01591f1c0de50b6aa399b0ece00d422897a48e5.tar.bz2
trackermap-server-d01591f1c0de50b6aa399b0ece00d422897a48e5.zip
changes for review
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java b/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
index 57e5d7eca..89b994fbe 100644
--- a/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
@@ -18,7 +18,7 @@ public class OwnTracksProtocolDecoderTest extends ProtocolTest {
buffer("{\"cog\":271,\"lon\":2.29513,\"acc\":5,\"vel\":61,\"vac\":21,\"lat\":48.85833,\"tst\":1497349316,\"alt\":167,\"_type\":\"location\",\"tid\":\"JJ\",\"t\":\"u\",\"batt\":67}")));
verifyPosition(decoder, request(HttpMethod.POST, "/",
- buffer(text("{\"lat\":48.85,\"lon\":2.295,\"_type\":\"location\",\"tid\":\"JJ\"}"))));
+ buffer("{\"lat\":48.85,\"lon\":2.295,\"_type\":\"location\",\"tid\":\"JJ\",\"tst\":1497476456}")));
}
}