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 b69b6e5..6fa4490 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 @@ -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));