From 87d893cb122ea94e57e91a46b71278e5ba886d7c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 29 Jul 2015 16:09:20 +1200 Subject: Fix command unit testing --- test/org/traccar/protocol/Gps103ProtocolEncoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/org') diff --git a/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java b/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java index 5060c576a..1fd93ede4 100644 --- a/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java @@ -15,7 +15,7 @@ public class Gps103ProtocolEncoderTest { Command command = new Command(); command.setDeviceId(1); - command.setType(Command.TYPE_POSITION_FIX); + command.setType(Command.TYPE_POSITION_PERIODIC); Map other = new HashMap<>(); other.put(Command.KEY_FREQUENCY, 300l); -- cgit v1.2.3