aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/PiligrimProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/PiligrimProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java b/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
index 354606817..e6bc75713 100644
--- a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
@@ -16,7 +16,7 @@ public class PiligrimProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- PiligrimProtocolDecoder decoder = new PiligrimProtocolDecoder(null);
+ PiligrimProtocolDecoder decoder = new PiligrimProtocolDecoder(new PiligrimProtocol());
HttpRequest msg1 = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/bingps?imei=868204005544720&csq=18&vout=00&vin=4050&dataid=00000000");
msg1.setContent(ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(