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