aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GotopProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/GotopProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GotopProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/GotopProtocolDecoderTest.java b/test/org/traccar/protocol/GotopProtocolDecoderTest.java
index d0e290b61..79d35e5a7 100644
--- a/test/org/traccar/protocol/GotopProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GotopProtocolDecoderTest.java
@@ -10,8 +10,7 @@ public class GotopProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- GotopProtocolDecoder decoder = new GotopProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ GotopProtocolDecoder decoder = new GotopProtocolDecoder(new TestDataManager(), null, null);
assertNull(decoder.decode(null, null, ""));