aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/reports
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-10 13:30:57 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-10 13:30:57 +0500
commit21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195 (patch)
tree9808dcc2fc176e0a9ace9214836aa296312a939a /test/org/traccar/reports
parentfec3ab90ffd6819dbad5c592f6cca8b6c16a8edc (diff)
downloadtrackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.tar.gz
trackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.tar.bz2
trackermap-server-21a7d70d20ac45fbf2a8d000ba8e9f93be5dd195.zip
- Rename calendarData to data
- Cleanup Calendar model - Fix TripsTest
Diffstat (limited to 'test/org/traccar/reports')
-rw-r--r--test/org/traccar/reports/TripsTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/reports/TripsTest.java b/test/org/traccar/reports/TripsTest.java
index 8adb1ceb0..dea101cf2 100644
--- a/test/org/traccar/reports/TripsTest.java
+++ b/test/org/traccar/reports/TripsTest.java
@@ -1,7 +1,7 @@
package org.traccar.reports;
-import org.junit.Ignore;
import org.junit.Test;
+import org.traccar.BaseTest;
import org.traccar.model.Position;
import org.traccar.reports.model.TripReport;
@@ -17,7 +17,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
-public class TripsTest {
+public class TripsTest extends BaseTest {
private Date date(String time) throws ParseException {
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
@@ -39,7 +39,6 @@ public class TripsTest {
return position;
}
- @Ignore
@Test
public void testDetectTripsSimple() throws ParseException {