diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-29 16:09:20 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-29 16:09:20 +1200 |
commit | 87d893cb122ea94e57e91a46b71278e5ba886d7c (patch) | |
tree | 7ad1603f865ed7b21d7465c2b68e55cc42c5e723 /test/org/traccar/protocol | |
parent | 1e0f0b2d38f15f3bac670319f52c2925cdaecc3c (diff) | |
download | traccar-server-87d893cb122ea94e57e91a46b71278e5ba886d7c.tar.gz traccar-server-87d893cb122ea94e57e91a46b71278e5ba886d7c.tar.bz2 traccar-server-87d893cb122ea94e57e91a46b71278e5ba886d7c.zip |
Fix command unit testing
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolEncoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String, Object> other = new HashMap<>(); other.put(Command.KEY_FREQUENCY, 300l); |