|
@@ -6,7 +6,7 @@ import org.springframework.boot.test.context.SpringBootTest;
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
@RunWith(SpringRunner.class)
|
|
-@SpringBootTest
|
|
|
|
|
|
+@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
|
|
public class IotApplicationTests {
|
|
public class IotApplicationTests {
|
|
|
|
|
|
@Test
|
|
@Test
|