aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 83d62e766..ea55a8b1c 100644
--- a/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -9,7 +9,7 @@ public class MegastekProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- var decoder = new MegastekProtocolDecoder(null);
+ var decoder = inject(new MegastekProtocolDecoder(null));
verifyPosition(decoder, text(
"$MGV002,860719020193193,,S,070521,160748,V,2255.09165,N,11404.01322,E,00,00,00,,,,,,,,,,,,,,,,,,,10,015,Restart;!"));