aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TotemProtocolEncoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolEncoderTest.java b/test/org/traccar/protocol/TotemProtocolEncoderTest.java
index 13c5b944f..1e7a95e41 100644
--- a/test/org/traccar/protocol/TotemProtocolEncoderTest.java
+++ b/test/org/traccar/protocol/TotemProtocolEncoderTest.java
@@ -33,9 +33,9 @@ public class TotemProtocolEncoderTest {
Command command = new Command();
command.setDeviceId(2);
- command.setType(Command.TYPE_IMEI);
+ command.setType(Command.TYPE_ENGINE_STOP);
- Assert.assertEquals("*000000,801#", encoder.encodeCommand(command));
+ Assert.assertEquals("*000000,025,C,1#", encoder.encodeCommand(command));
}
}