aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 11:38:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 11:38:49 +1200
commita10e925a97cf839a5c30fb7891af12bc111b14c4 (patch)
tree2f81727373e22058c16fb4d9cf48ad374c20f10e /test/org/traccar/protocol
parent411f631b6a9dd898476b43d342180db02e45dd9c (diff)
downloadtraccar-server-a10e925a97cf839a5c30fb7891af12bc111b14c4.tar.gz
traccar-server-a10e925a97cf839a5c30fb7891af12bc111b14c4.tar.bz2
traccar-server-a10e925a97cf839a5c30fb7891af12bc111b14c4.zip
Update Totem commands
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/TotemProtocolEncoderTest.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolEncoderTest.java b/test/org/traccar/protocol/TotemProtocolEncoderTest.java
index 365173bd2..ce5574bb1 100644
--- a/test/org/traccar/protocol/TotemProtocolEncoderTest.java
+++ b/test/org/traccar/protocol/TotemProtocolEncoderTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 alexis.
+ * Copyright 2015 Irving Gonzalez
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,10 +21,6 @@ import org.junit.Assert;
import org.junit.Test;
import org.traccar.model.Command;
-/**
- *
- * @author alexis
- */
public class TotemProtocolEncoderTest {
@Test
public void testDecode() throws Exception {
@@ -36,7 +32,7 @@ public class TotemProtocolEncoderTest {
command.setType(Command.TYPE_ENGINE_STOP);
Map<String, Object> other = new HashMap<>();
- other.put(Command.KEY_GPS_PASSWORD, "000000");
+ other.put(Command.KEY_DEVICE_PASSWORD, "000000");
command.setOther(other);