aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-15 22:55:09 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-15 22:55:09 +1200
commit946978e44223beb5b4b202c80dce6319f9a5cc14 (patch)
treef7f006121e3f4186dd0fbb3b9e8695cbd5826cf2 /test
parentfd8ac5fd906b398f86ecd04820fedb86b8e39a9a (diff)
downloadtrackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.tar.gz
trackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.tar.bz2
trackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.zip
Store extra data in JSON format
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/model/MiscFormatterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/model/MiscFormatterTest.java b/test/org/traccar/model/MiscFormatterTest.java
index 8e013c0bc..6a7a05d3b 100644
--- a/test/org/traccar/model/MiscFormatterTest.java
+++ b/test/org/traccar/model/MiscFormatterTest.java
@@ -13,7 +13,7 @@ public class MiscFormatterTest {
position.set("b", "2");
position.set("a", "3");
- assertEquals("<info><a>3</a><b>2</b></info>", position.getOther());
+ assertEquals("<info><a>3</a><b>2</b></info>", MiscFormatter.toXmlString(position.getOther()));
}