aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java
index 7d3068c02..21ccfa56d 100644
--- a/src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OrbcommProtocolDecoderTest.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 OrbcommProtocolDecoderTest extends ProtocolTest {
@@ -8,7 +8,7 @@ public class OrbcommProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- var decoder = new OrbcommProtocolDecoder(null);
+ var decoder = inject(new OrbcommProtocolDecoder(null));
verifyNull(decoder, response(
buffer("{\"ErrorID\":0,\"NextStartUTC\":\"\",\"Messages\":null}")));