aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-16 22:14:00 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-16 22:14:00 -0700
commit8ac3babace6125aa430b39581e347d42996a7ce3 (patch)
tree746d560baf9632595ef43ee05e6df58bc05e64da /src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java
parent2cd7e378fd1414c04276d943c4310ea8bcc38725 (diff)
downloadtrackermap-server-8ac3babace6125aa430b39581e347d42996a7ce3.tar.gz
trackermap-server-8ac3babace6125aa430b39581e347d42996a7ce3.tar.bz2
trackermap-server-8ac3babace6125aa430b39581e347d42996a7ce3.zip
Swap coordinate values
Diffstat (limited to 'src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java
index c0090e9f2..9b3f6823a 100644
--- a/src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MoovboxProtocolDecoderTest.java
@@ -12,7 +12,7 @@ public class MoovboxProtocolDecoderTest extends ProtocolTest {
MoovboxProtocolDecoder decoder = new MoovboxProtocolDecoder(null);
verifyPositions(decoder, request(HttpMethod.POST, "/",
- buffer("<gps id=\"911\">\n<coordinates><coordinate>\n<fix>3</fix>\n<time>1597580050</time>\n<latitude>80.726257</latitude>\n<longitude>13.821351</longitude>\n<altitude>9.500000</altitude>\n<climb>0.000000</climb>\n<speed>0.064000</speed>\n<separation>-27.300000</separation>\n<track>0.000000</track>\n<satellites>9</satellites>\n</coordinate></coordinates>\n</gps>")));
+ buffer("<gps id=\"911\">\n<coordinates><coordinate>\n<fix>3</fix>\n<time>1597580050</time>\n<latitude>100.726257</latitude>\n<longitude>13.821351</longitude>\n<altitude>9.500000</altitude>\n<climb>0.000000</climb>\n<speed>0.064000</speed>\n<separation>-27.300000</separation>\n<track>0.000000</track>\n<satellites>9</satellites>\n</coordinate></coordinates>\n</gps>")));
}