aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/ProtocolTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-20 06:52:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-20 06:52:26 +1300
commit2449895139fa658d082c1085185003a001225bc3 (patch)
tree8b657c86e799e13d2ee981f23339c0db5ce92015 /test/org/traccar/ProtocolTest.java
parente024acd5226383375c00b2632f72114d6345f446 (diff)
downloadtrackermap-server-2449895139fa658d082c1085185003a001225bc3.tar.gz
trackermap-server-2449895139fa658d082c1085185003a001225bc3.tar.bz2
trackermap-server-2449895139fa658d082c1085185003a001225bc3.zip
Implement TAIP protocol variant
Diffstat (limited to 'test/org/traccar/ProtocolTest.java')
-rw-r--r--test/org/traccar/ProtocolTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/ProtocolTest.java b/test/org/traccar/ProtocolTest.java
index d4543a06d..f4072ad24 100644
--- a/test/org/traccar/ProtocolTest.java
+++ b/test/org/traccar/ProtocolTest.java
@@ -145,7 +145,7 @@ public class ProtocolTest extends BaseTest {
} else {
Assert.assertNotNull(position.getFixTime());
- Assert.assertTrue("year > 2000", position.getFixTime().after(new Date(946684800000L)));
+ Assert.assertTrue("year > 1999", position.getFixTime().after(new Date(915148800000L)));
Assert.assertTrue("time < +25 hours",
position.getFixTime().getTime() < System.currentTimeMillis() + 25 * 3600000);