aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java
index 5302709fc..195fc4258 100644
--- a/src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/ItsProtocolEncoderTest.java
@@ -11,7 +11,7 @@ public class ItsProtocolEncoderTest extends ProtocolTest {
@Test
public void testEncode() throws Exception {
- var encoder = new ItsProtocolEncoder(null);
+ var encoder = inject(new ItsProtocolEncoder(null));
Command command = new Command();
command.setDeviceId(1);