aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/reports
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/reports')
-rw-r--r--src/test/java/org/traccar/reports/ReportUtilsTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/reports/ReportUtilsTest.java b/src/test/java/org/traccar/reports/ReportUtilsTest.java
index b73ae7cc0..aecb1c4a4 100644
--- a/src/test/java/org/traccar/reports/ReportUtilsTest.java
+++ b/src/test/java/org/traccar/reports/ReportUtilsTest.java
@@ -57,6 +57,7 @@ public class ReportUtilsTest extends BaseTest {
position.setTime(date(time));
position.setValid(true);
position.setSpeed(speed);
+ position.set(Position.KEY_MOTION, speed > 0);
position.set(Position.KEY_TOTAL_DISTANCE, totalDistance);
return position;