aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/model/MiscFormatterTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-11 09:34:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-11 09:34:29 +1200
commitdd75a13e316173dcc98c5cf73463ac3b5c35976d (patch)
tree3780c348285318b0a2bd35b2cac1831453221503 /test/org/traccar/model/MiscFormatterTest.java
parentbd09a39f12c4471bdc342e5a16fbabdffdc645d1 (diff)
downloadtrackermap-server-dd75a13e316173dcc98c5cf73463ac3b5c35976d.tar.gz
trackermap-server-dd75a13e316173dcc98c5cf73463ac3b5c35976d.tar.bz2
trackermap-server-dd75a13e316173dcc98c5cf73463ac3b5c35976d.zip
Remove locale dependent test
Diffstat (limited to 'test/org/traccar/model/MiscFormatterTest.java')
-rw-r--r--test/org/traccar/model/MiscFormatterTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/model/MiscFormatterTest.java b/test/org/traccar/model/MiscFormatterTest.java
index 94241f95c..8e013c0bc 100644
--- a/test/org/traccar/model/MiscFormatterTest.java
+++ b/test/org/traccar/model/MiscFormatterTest.java
@@ -12,9 +12,8 @@ public class MiscFormatterTest {
position.set("a", "1");
position.set("b", "2");
position.set("a", "3");
- position.set("c", 3.555);
-
- assertEquals(position.getOther(), "<info><a>3</a><b>2</b><c>3.56</c></info>");
+
+ assertEquals("<info><a>3</a><b>2</b></info>", position.getOther());
}