diff options
Diffstat (limited to 'test/org/traccar/protocol/Tr20ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tr20ProtocolDecoderTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java index b78f95fac..b2d2d9a7d 100644 --- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java @@ -10,8 +10,7 @@ public class Tr20ProtocolDecoderTest { @Test public void testDecode() throws Exception { - Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + Tr20ProtocolDecoder decoder = new Tr20ProtocolDecoder(new TestDataManager(), null, null); assertNull(decoder.decode(null, null, "%%TRACKPRO01,1")); |