aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-20 17:02:30 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-20 17:02:30 -0700
commit259c6fe4aa0132ae8d6ca6eb63c82e8ef64d8a6a (patch)
tree987dc6a375a7dd517edacf328d5b389c47481e55
parentfe50b376ee5bee1a738aef3baca97e56f75633a4 (diff)
downloadtrackermap-server-259c6fe4aa0132ae8d6ca6eb63c82e8ef64d8a6a.tar.gz
trackermap-server-259c6fe4aa0132ae8d6ca6eb63c82e8ef64d8a6a.tar.bz2
trackermap-server-259c6fe4aa0132ae8d6ca6eb63c82e8ef64d8a6a.zip
Integer index
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java
index c34674128..d507f3c4f 100644
--- a/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java
@@ -271,7 +271,7 @@ public class Tk103ProtocolEncoderTest extends ProtocolTest {
Command command = new Command();
command.setDeviceId(1);
command.setType(Command.TYPE_SOS_NUMBER);
- command.set(Command.KEY_INDEX, "0");
+ command.set(Command.KEY_INDEX, 0);
command.set(Command.KEY_PHONE, "+55555555555");
command.set(Command.KEY_DEVICE_PASSWORD, "232323");