diff options
Diffstat (limited to 'test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java index 12eb57f35..802cae877 100644 --- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java @@ -9,7 +9,7 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - TeltonikaProtocolDecoder decoder = new TeltonikaProtocolDecoder(new TeltonikaProtocol(), false); + TeltonikaProtocolDecoder decoder = new TeltonikaProtocolDecoder(null, false); verifyNull(decoder, binary( "000F313233343536373839303132333435")); @@ -97,7 +97,7 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest { @Test public void testDecodeConnectionless() throws Exception { - TeltonikaProtocolDecoder decoder = new TeltonikaProtocolDecoder(new TeltonikaProtocol(), true); + TeltonikaProtocolDecoder decoder = new TeltonikaProtocolDecoder(null, true); verifyPositions(decoder, false, binary( "0049cafe0122000f33353734353430373237313339373508010000015d3766f6a800003eef961ec6215e0063006d09003100070401000200f001c8000242381c18003201c7000000e10001")); |