aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/handler/FilterHandlerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/handler/FilterHandlerTest.java b/src/test/java/org/traccar/handler/FilterHandlerTest.java
index 26281e351..14037f723 100644
--- a/src/test/java/org/traccar/handler/FilterHandlerTest.java
+++ b/src/test/java/org/traccar/handler/FilterHandlerTest.java
@@ -29,7 +29,7 @@ public class FilterHandlerTest extends BaseTest {
when(config.getBoolean(Keys.FILTER_ENABLE)).thenReturn(true);
var cacheManager = mock(CacheManager.class);
when(cacheManager.getConfig()).thenReturn(config);
- passingHandler = new FilterHandler(config, cacheManager, null);
+ passingHandler = new FilterHandler(config, cacheManager, null, null);
}
@BeforeEach
@@ -50,7 +50,7 @@ public class FilterHandlerTest extends BaseTest {
var cacheManager = mock(CacheManager.class);
when(cacheManager.getConfig()).thenReturn(config);
when(cacheManager.getObject(any(), anyLong())).thenReturn(mock(Device.class));
- filteringHandler = new FilterHandler(config, cacheManager, null);
+ filteringHandler = new FilterHandler(config, cacheManager, null, null);
}
private Position createPosition(Date time, boolean valid, double speed) {