diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-06 16:19:56 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-06 16:19:56 -0700 |
commit | 09eebb35449c4ffb43b6a72bb4c3f723ec1c84be (patch) | |
tree | 51a8ddfc58c7404b064d92ae01350698829789ff /src/test/java | |
parent | 715499d5eabf73bdd1684bcf87006d904c92414b (diff) | |
download | trackermap-server-09eebb35449c4ffb43b6a72bb4c3f723ec1c84be.tar.gz trackermap-server-09eebb35449c4ffb43b6a72bb4c3f723ec1c84be.tar.bz2 trackermap-server-09eebb35449c4ffb43b6a72bb4c3f723ec1c84be.zip |
Remove motion fallback (fix #3257)
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/reports/ReportUtilsTest.java | 1 |
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; |