aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/reports/ReportUtilsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/reports/ReportUtilsTest.java b/test/org/traccar/reports/ReportUtilsTest.java
index 9a30ce3a7..f4dd88cba 100644
--- a/test/org/traccar/reports/ReportUtilsTest.java
+++ b/test/org/traccar/reports/ReportUtilsTest.java
@@ -24,8 +24,8 @@ public class ReportUtilsTest {
Position endPosition = new Position();
Assert.assertEquals(ReportUtils.calculateFuel(startPosition, endPosition), "-");
startPosition.setProtocol("meitrack");
- startPosition.set(Position.KEY_FUEL, 0.07);
- endPosition.set(Position.KEY_FUEL, 0.05);
+ startPosition.set(Position.KEY_FUEL_LEVEL, 0.07);
+ endPosition.set(Position.KEY_FUEL_LEVEL, 0.05);
Assert.assertEquals(ReportUtils.calculateFuel(startPosition, endPosition), "0.02 %");
startPosition.setProtocol("galileo");
Assert.assertEquals(ReportUtils.calculateFuel(startPosition, endPosition), "0.02 %");