diff --git a/pom.xml b/pom.xml index 8ef6721..8016c34 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ com.loafle.overflow commons-java - 1.0.111-SNAPSHOT + 1.0.112-SNAPSHOT diff --git a/src/test/java/com/loafle/overflow/central/module/sensor/service/SensorServiceTest.java b/src/test/java/com/loafle/overflow/central/module/sensor/service/SensorServiceTest.java index ef16cdb..3a6d50f 100644 --- a/src/test/java/com/loafle/overflow/central/module/sensor/service/SensorServiceTest.java +++ b/src/test/java/com/loafle/overflow/central/module/sensor/service/SensorServiceTest.java @@ -49,6 +49,8 @@ public class SensorServiceTest { List metaCrawlerMappings = this.metaCrawlerMappingDAO.findAll(); sensor.setMetaCrawlerMapping(metaCrawlerMappings.get(0)); + sensor.setInterval(metaCrawlerMappings.get(0).getDefaultInterval()); + Sensor result = this.sensorService.regist(sensor, this.metaDisplayItemMappingService.findAll()); Assert.assertNotNull(result); }