aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:52:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 16:52:38 +1300
commitae32084f88df4436e1a2cdcb346ff1e7e286e369 (patch)
tree5ec96dcedf19aa0c435c0e4d38f2ba60f583f9f6 /test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
parent6f707c42d2798c93009e289a46d2faf918b75eea (diff)
downloadtrackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.gz
trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.tar.bz2
trackermap-server-ae32084f88df4436e1a2cdcb346ff1e7e286e369.zip
Avoid protocol classes in tests
Diffstat (limited to 'test/org/traccar/protocol/SigfoxProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SigfoxProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java b/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
index 24c60abe7..48adb0ccb 100644
--- a/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
@@ -9,7 +9,7 @@ public class SigfoxProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- SigfoxProtocolDecoder decoder = new SigfoxProtocolDecoder(new SigfoxProtocol());
+ SigfoxProtocolDecoder decoder = new SigfoxProtocolDecoder(null);
verifyPosition(decoder, request(HttpMethod.POST, "/",
buffer("%7B++%22device%22%3A%222BF839%22%2C++%22time%22%3A1510605882%2C++%22duplicate%22%3Afalse%2C++%22snr%22%3A45.61%2C++%22station%22%3A%2235A9%22%2C++%22data%22%3A%2200bd6475e907398e562d01b9%22%2C++%22avgSnr%22%3A45.16%2C++%22lat%22%3A-38.0%2C++%22lng%22%3A145.0%2C++%22rssi%22%3A-98.00%2C++%22seqNumber%22%3A228+%7D=")));