aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
index 740d1b62c..9bad24865 100644
--- a/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
@@ -1,6 +1,6 @@
package org.traccar.protocol;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import org.traccar.ProtocolTest;
public class SmartSoleProtocolDecoderTest extends ProtocolTest {
@@ -8,7 +8,7 @@ public class SmartSoleProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- var decoder = new SmartSoleProtocolDecoder(null);
+ var decoder = inject(new SmartSoleProtocolDecoder(null));
verifyPosition(decoder, text(
"#GTXRP=359366080000385,8,180514200051,34.041981,-118.255806,60,1,1,7,1.80,180514200051,4.16,11"));