aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/DecoderVerifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/helper/DecoderVerifier.java')
-rw-r--r--test/org/traccar/helper/DecoderVerifier.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/helper/DecoderVerifier.java b/test/org/traccar/helper/DecoderVerifier.java
index d73d9d58f..f815861f5 100644
--- a/test/org/traccar/helper/DecoderVerifier.java
+++ b/test/org/traccar/helper/DecoderVerifier.java
@@ -11,9 +11,9 @@ public class DecoderVerifier {
assertNotNull(position.getDeviceId());
- assertNotNull(position.getTime());
- assertTrue(position.getTime().after(new Date(946684800000L))); // 2000 year
- assertTrue(position.getTime().getTime() < new Date().getTime() + 3600000); // 1 hour from now
+ assertNotNull(position.getFixTime());
+ assertTrue(position.getFixTime().after(new Date(946684800000L))); // 2000 year
+ assertTrue(position.getFixTime().getTime() < new Date().getTime() + 3600000); // 1 hour from now
assertNotNull(position.getValid());