aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-06 11:07:28 -0800
committerAnton Tananaev <anton@traccar.org>2023-03-06 11:07:28 -0800
commit3feb9c15e32c619cd94e7a58b79cd54001751a45 (patch)
treef749dda16bf0ca2403658da421e7c16ec2a92971 /src/test/java/org
parent5505721ed5327eb65cfbbf64ad95bc956d588ba4 (diff)
downloadtrackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.tar.gz
trackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.tar.bz2
trackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.zip
Enable unit tests
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/ProtocolTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/ProtocolTest.java b/src/test/java/org/traccar/ProtocolTest.java
index ce005e93f..3b04b5e02 100644
--- a/src/test/java/org/traccar/ProtocolTest.java
+++ b/src/test/java/org/traccar/ProtocolTest.java
@@ -179,7 +179,7 @@ public class ProtocolTest extends BaseTest {
if (expected.getFixTime() != null) {
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
- assertEquals("time", dateFormat.format(expected.getFixTime()), dateFormat.format(position.getFixTime()));
+ assertEquals(dateFormat.format(expected.getFixTime()), dateFormat.format(position.getFixTime()), "time");
}
assertEquals(expected.getValid(), position.getValid(), "valid");
assertEquals(expected.getLatitude(), position.getLatitude(), 0.00001, "latitude");