diff options
Diffstat (limited to 'test/org/traccar/protocol/IntellitracProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/IntellitracProtocolDecoderTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java index 9557797b7..2fc9b8201 100644 --- a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java +++ b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java @@ -10,8 +10,7 @@ public class IntellitracProtocolDecoderTest { @Test public void testDecode() throws Exception { - IntellitracProtocolDecoder decoder = new IntellitracProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + IntellitracProtocolDecoder decoder = new IntellitracProtocolDecoder(new TestDataManager()); assertNull(decoder.decode(null, null, "$OK:TRACKING")); |