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