aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/Tr20ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Tr20ProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
index 669e84f53..6826b2f32 100644
--- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
@@ -10,7 +10,7 @@ public class Tr20ProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(null);
+ Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(new Tr20Protocol());
assertNull(decoder.decode(null, null, "%%TRACKPRO01,1"));