test
This commit is contained in:
parent
f4d4544fbc
commit
8d61062e62
2
pom.xml
2
pom.xml
|
@ -50,7 +50,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.loafle.overflow</groupId>
|
<groupId>com.loafle.overflow</groupId>
|
||||||
<artifactId>commons-java</artifactId>
|
<artifactId>commons-java</artifactId>
|
||||||
<version>1.0.111-SNAPSHOT</version>
|
<version>1.0.112-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -49,6 +49,8 @@ public class SensorServiceTest {
|
||||||
List<MetaCrawlerMapping> metaCrawlerMappings = this.metaCrawlerMappingDAO.findAll();
|
List<MetaCrawlerMapping> metaCrawlerMappings = this.metaCrawlerMappingDAO.findAll();
|
||||||
sensor.setMetaCrawlerMapping(metaCrawlerMappings.get(0));
|
sensor.setMetaCrawlerMapping(metaCrawlerMappings.get(0));
|
||||||
|
|
||||||
|
sensor.setInterval(metaCrawlerMappings.get(0).getDefaultInterval());
|
||||||
|
|
||||||
Sensor result = this.sensorService.regist(sensor, this.metaDisplayItemMappingService.findAll());
|
Sensor result = this.sensorService.regist(sensor, this.metaDisplayItemMappingService.findAll());
|
||||||
Assert.assertNotNull(result);
|
Assert.assertNotNull(result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user