aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java
index 9d36ef346..100ef340a 100644
--- a/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.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 Gt02ProtocolDecoderTest extends ProtocolTest {
@@ -8,7 +8,7 @@ public class Gt02ProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- var decoder = new Gt02ProtocolDecoder(null);
+ var decoder = inject(new Gt02ProtocolDecoder(null));
verifyAttributes(decoder, binary(
"6868150000035889905895258400831c07415045584f4b210d0a"));