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