aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
index 7938ab630..1559e8294 100644
--- a/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/GatorProtocolEncoderTest.java
@@ -29,9 +29,7 @@ public class GatorProtocolEncoderTest extends ProtocolTest {
Command command = new Command();
command.setDeviceId(1);
- command.set("heartbeat_interval", 120);
- command.set("engine_off_interval", 5);
- command.set("engine_on_interval", 5);
+ command.set(command.KEY_FREQUENCY, "5;5;120");
command.setType(Command.TYPE_POSITION_PERIODIC);
verifyCommand(encoder, command, binary("242434000b5800383a00050005781d0d"));
}