aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/M2mProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/M2mProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/M2mProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/M2mProtocolDecoderTest.java b/test/org/traccar/protocol/M2mProtocolDecoderTest.java
index ceb248fb5..8c0ff3b8c 100644
--- a/test/org/traccar/protocol/M2mProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/M2mProtocolDecoderTest.java
@@ -12,7 +12,7 @@ public class M2mProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- M2mProtocolDecoder decoder = new M2mProtocolDecoder(null);
+ M2mProtocolDecoder decoder = new M2mProtocolDecoder(new M2mProtocol());
assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
"235A3C2A2624215C287D70212A21254C7C6421220B0B0B"))));