[Bael 6514] - Fixed missing usage (#4284)

* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking
This commit is contained in:
amit2103
2018-05-19 16:40:29 +05:30
committed by Eugen
parent 110d3891c4
commit a6c5f89093
5 changed files with 10 additions and 13 deletions
@@ -17,7 +17,7 @@ import javax.servlet.ServletContext;
import static org.junit.Assert.*;
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = SpringBootAnnotatedApp.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK, classes = SpringBootAnnotatedApp.class)
@AutoConfigureMockMvc
@TestPropertySource(properties = { "security.basic.enabled=false" })
public class SpringBootWithServletComponentIntegrationTest {
@@ -16,7 +16,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
@RunWith(SpringRunner.class)
@SpringBootTest
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK)
@AutoConfigureMockMvc
@TestPropertySource(properties = { "security.basic.enabled=false" })
public class AppLiveTest {