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/T57ProtocolDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/org/traccar/protocol/T57ProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/T57ProtocolDecoderTest.java b/test/org/traccar/protocol/T57ProtocolDecoderTest.java index 1100ef17d..c457b4602 100644 --- a/test/org/traccar/protocol/T57ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/T57ProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class T57ProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - T57ProtocolDecoder decoder = new T57ProtocolDecoder(new T57Protocol()); + T57ProtocolDecoder decoder = new T57ProtocolDecoder(null); verifyPosition(decoder, text( "*T57#F1#T571117001#301117#000843#2234.1303#N#08826.1714#E#+0.242,+0.109,-0.789#0.000#6.20000#A2#4.2#")); -- cgit v1.2.3