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