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.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java b/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
index 62e19ad85..354606817 100644
--- a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
@@ -11,12 +11,12 @@ import static org.traccar.helper.DecoderVerifier.verify;
import org.junit.Test;
import org.traccar.helper.ChannelBufferTools;
-public class PiligrimProtocolDecoderTest {
+public class PiligrimProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- PiligrimProtocolDecoder decoder = new PiligrimProtocolDecoder(new TestDataManager(), null, null);
+ PiligrimProtocolDecoder decoder = new PiligrimProtocolDecoder(null);
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(