aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/DistanceHandlerTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/DistanceHandlerTest.java')
-rw-r--r--test/org/traccar/DistanceHandlerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/DistanceHandlerTest.java b/test/org/traccar/DistanceHandlerTest.java
index b14caaec5..66b2f3d1c 100644
--- a/test/org/traccar/DistanceHandlerTest.java
+++ b/test/org/traccar/DistanceHandlerTest.java
@@ -12,7 +12,7 @@ public class DistanceHandlerTest {
DistanceHandler distanceHandler = new DistanceHandler();
- Position position = distanceHandler.calculateDistance(new Position());
+ Position position = distanceHandler.handlePosition(new Position());
assertEquals(0.0, position.getAttributes().get(Position.KEY_DISTANCE));
assertEquals(0.0, position.getAttributes().get(Position.KEY_TOTAL_DISTANCE));