aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java b/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
index 0160d4367..8a82c5901 100644
--- a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
@@ -10,8 +10,7 @@ public class EasyTrackProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- EasyTrackProtocolDecoder decoder = new EasyTrackProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ EasyTrackProtocolDecoder decoder = new EasyTrackProtocolDecoder(new TestDataManager());
assertNull(decoder.decode(null, null, "*ET,135790246811221,GZ,0001,0005"));