aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/Gps103ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 655d4f05f..75b7279f8 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,8 +10,7 @@ public class Gps103ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new TestDataManager());
// Log on request
assertNull(decoder.decode(null, null, null, "##,imei:359586015829802,A"));