Merge branch '2.4.x'
See gh-25450
This commit is contained in:
@@ -43,8 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
*
|
*
|
||||||
* @author Madhura Bhave
|
* @author Madhura Bhave
|
||||||
*/
|
*/
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = "management.server.port=0")
|
||||||
properties = { "management.server.port=0", "debug=true" })
|
|
||||||
@Import(ResourceConfigConfiguration.class)
|
@Import(ResourceConfigConfiguration.class)
|
||||||
class AbstractJerseyManagementPortTests {
|
class AbstractJerseyManagementPortTests {
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import org.springframework.test.context.TestPropertySource;
|
|||||||
*
|
*
|
||||||
* @author Andy Wilkinson
|
* @author Andy Wilkinson
|
||||||
*/
|
*/
|
||||||
@TestPropertySource(properties = "spring.jersey.type=filter")
|
@TestPropertySource(properties = { "spring.jersey.type=filter", "server.servlet.register-default-servlet=true" })
|
||||||
class JerseyFilterApplicationTests extends AbstractJerseyApplicationTests {
|
class JerseyFilterApplicationTests extends AbstractJerseyApplicationTests {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import org.springframework.test.context.TestPropertySource;
|
|||||||
*
|
*
|
||||||
* @author Andy Wilkinson
|
* @author Andy Wilkinson
|
||||||
*/
|
*/
|
||||||
@TestPropertySource(properties = "spring.jersey.type=filter")
|
@TestPropertySource(properties = { "spring.jersey.type=filter", "server.servlet.register-default-servlet=true" })
|
||||||
public class JerseyFilterManagementPortTests extends AbstractJerseyManagementPortTests {
|
public class JerseyFilterManagementPortTests extends AbstractJerseyManagementPortTests {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user