From ae32084f88df4436e1a2cdcb346ff1e7e286e369 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Oct 2018 16:52:38 +1300 Subject: Avoid protocol classes in tests --- test/org/traccar/protocol/DishaProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/org/traccar/protocol/DishaProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/DishaProtocolDecoderTest.java b/test/org/traccar/protocol/DishaProtocolDecoderTest.java index 17e27e4f8..ddb5aca18 100644 --- a/test/org/traccar/protocol/DishaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/DishaProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class DishaProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - DishaProtocolDecoder decoder = new DishaProtocolDecoder(new DishaProtocol()); + DishaProtocolDecoder decoder = new DishaProtocolDecoder(null); verifyPosition(decoder, text( "$A#A#864161028848856#A#053523#010216#2232.7733#N#08821.1940#E#002.75#038.1#09#00.8#1800#0#000#0000#9999#11.7#285.7#0001*")); -- cgit v1.2.3