This commit is contained in:
insanity 2018-06-29 13:51:31 +09:00
parent f4d4544fbc
commit 8d61062e62
2 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@
<dependency>
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<version>1.0.111-SNAPSHOT</version>
<version>1.0.112-SNAPSHOT</version>
</dependency>
<dependency>

View File

@ -49,6 +49,8 @@ public class SensorServiceTest {
List<MetaCrawlerMapping> 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);
}