aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/ST210ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/ST210ProtocolDecoderTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
index 7956c3dd4..d84993b95 100644
--- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
@@ -10,8 +10,8 @@ public class ST210ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- ST210ProtocolDecoder decoder = new ST210ProtocolDecoder(
- new TestDataManager());
+ ST210ProtocolDecoder decoder = new ST210ProtocolDecoder(null);
+ decoder.setDataManager(new TestDataManager());
//Status
assertNotNull(decoder
@@ -48,7 +48,7 @@ public class ST210ProtocolDecoderTest {
assertNotNull(decoder
.decode(null,
null,
- "SA200ALT;317652;042;20120829;14:25:58;16d41;-15.618770;-056.083242;000.029;000.00;0;0;2404240;0.00;000000;10"));
+ "SA200ALT;317652;042;20120829;14:25:58;16d41;-15.618770;-056.083242;000.029;000.00;0;0;2404240;0.00;000000;10"));
}
}