diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-06 08:34:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-06 08:34:02 +1300 |
commit | 850734d2f1bef8aba5761f540caa40c23608acc6 (patch) | |
tree | e4c3fb58a3a67f3daa5c31423db9858c6e8aae82 /test | |
parent | 77d193bf840ceb5294a6cb0d0cd6e1512e2b1efb (diff) | |
download | traccar-server-850734d2f1bef8aba5761f540caa40c23608acc6.tar.gz traccar-server-850734d2f1bef8aba5761f540caa40c23608acc6.tar.bz2 traccar-server-850734d2f1bef8aba5761f540caa40c23608acc6.zip |
Fix NMEA checksum calculation (fix #2405)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/WebDataHandlerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/WebDataHandlerTest.java b/test/org/traccar/WebDataHandlerTest.java index e68eaf74e..2a8205ad1 100644 --- a/test/org/traccar/WebDataHandlerTest.java +++ b/test/org/traccar/WebDataHandlerTest.java @@ -14,7 +14,7 @@ public class WebDataHandlerTest extends ProtocolTest { WebDataHandler handler = new WebDataHandler("http://localhost/?fixTime={fixTime}&gprmc={gprmc}&name={name}"); Assert.assertEquals( - "http://localhost/?fixTime=1451610123000&gprmc=$GPRMC,010203.000,A,2000.0000,N,03000.0000,E,0.00,0.00,010116,,*21&name=test", + "http://localhost/?fixTime=1451610123000&gprmc=$GPRMC,010203.000,A,2000.0000,N,03000.0000,E,0.00,0.00,010116,,*05&name=test", handler.formatRequest(p)); } |