diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-15 22:55:09 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-15 22:55:09 +1200 |
commit | 946978e44223beb5b4b202c80dce6319f9a5cc14 (patch) | |
tree | f7f006121e3f4186dd0fbb3b9e8695cbd5826cf2 /test/org/traccar/model | |
parent | fd8ac5fd906b398f86ecd04820fedb86b8e39a9a (diff) | |
download | trackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.tar.gz trackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.tar.bz2 trackermap-server-946978e44223beb5b4b202c80dce6319f9a5cc14.zip |
Store extra data in JSON format
Diffstat (limited to 'test/org/traccar/model')
-rw-r--r-- | test/org/traccar/model/MiscFormatterTest.java | 2 |
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())); } |