sensor test

This commit is contained in:
insanity 2018-07-10 15:52:39 +09:00
parent b3c6c0dfe0
commit bb84d89563

View File

@ -19,6 +19,7 @@ import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@ -28,6 +29,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
// @Ignore
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { AppConfigTest.class })
@ActiveProfiles("development")
public class SensorServiceTest {
@Autowired
SensorService sensorService;
@ -57,6 +59,7 @@ public class SensorServiceTest {
}
@Test
@Ignore
public void regist() throws Exception {
Target target = this.targetService.read(Long.valueOf(1));