aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-08-11 10:59:06 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-08-11 10:59:06 -0700
commit34588a82377708f8664427cae0bd4dea8a582764 (patch)
tree16b97e587c28d091d7ac3de1c084b1d15ebb4d8d /src/test/java
parentb1d7e4d00072e8293051d502311a5f826eb95287 (diff)
downloadtrackermap-server-34588a82377708f8664427cae0bd4dea8a582764.tar.gz
trackermap-server-34588a82377708f8664427cae0bd4dea8a582764.tar.bz2
trackermap-server-34588a82377708f8664427cae0bd4dea8a582764.zip
Use correct header
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java
index 683aa9d80..9a628cdb6 100644
--- a/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java
@@ -16,7 +16,9 @@ public class T800xProtocolEncoderTest extends ProtocolTest {
command.setType(Command.TYPE_CUSTOM);
command.set(Command.KEY_DATA, "RELAY,0000,On#");
- verifyCommand(encoder, command, binary("252581001e000101234567890123450152454c41592c303030302c4f6e23"));
+ verifyFrame(
+ binary("232381001e000101234567890123450152454c41592c303030302c4f6e23"),
+ encoder.encodeCommand(null, command));
}