aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 13:13:02 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-23 13:13:02 -0800
commit7aa3760f02361a04e2c3b73ba5b9cc41bcb8ec3d (patch)
tree8c41a9cfe79e9ce5819d6a9829af48103da59b10 /test/org/traccar
parentf013bfab93b4a91c49bdfb4262ce187821d80a06 (diff)
downloadtrackermap-server-7aa3760f02361a04e2c3b73ba5b9cc41bcb8ec3d.tar.gz
trackermap-server-7aa3760f02361a04e2c3b73ba5b9cc41bcb8ec3d.tar.bz2
trackermap-server-7aa3760f02361a04e2c3b73ba5b9cc41bcb8ec3d.zip
Change filtering logic (fix #4135)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/processing/FilterHandlerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/processing/FilterHandlerTest.java b/test/org/traccar/processing/FilterHandlerTest.java
index e0e9a9912..a497f1043 100644
--- a/test/org/traccar/processing/FilterHandlerTest.java
+++ b/test/org/traccar/processing/FilterHandlerTest.java
@@ -78,7 +78,7 @@ public class FilterHandlerTest extends BaseTest {
@Test
public void testSkipAttributes() {
- Position position = createPosition(0, new Date(), false, 10, 10, 10, 10, 10);
+ Position position = createPosition(0, new Date(), true, 10, 10, 10, 0, 10);
position.set(Position.KEY_ALARM, Position.ALARM_GENERAL);
assertNotNull(filteringHandler.handlePosition(position));