diff options
author | Anton Tananaev <anton@traccar.org> | 2023-06-18 07:41:43 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-06-18 07:41:43 -0700 |
commit | ef99a5067522d5affcd0550eb299e37c916e3096 (patch) | |
tree | 8d1754c484d6529d72cbe3ddd4920f37f0cfa609 /src/test/java/org | |
parent | 2d45e488f090d54d87319adc65147a3998f0d3c3 (diff) | |
download | trackermap-server-ef99a5067522d5affcd0550eb299e37c916e3096.tar.gz trackermap-server-ef99a5067522d5affcd0550eb299e37c916e3096.tar.bz2 trackermap-server-ef99a5067522d5affcd0550eb299e37c916e3096.zip |
Add daily limit filter
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/handler/FilterHandlerTest.java | 4 |
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) { |