Commit 12d3b152 authored by Andy Wilkinson's avatar Andy Wilkinson

Ensure that Jersey's filter has a servlet at the end of its chain

See gh-25449
parent cb600f1c
......@@ -43,8 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Madhura Bhave
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
properties = { "management.server.port=0", "debug=true" })
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = "management.server.port=0")
@Import(ResourceConfigConfiguration.class)
class AbstractJerseyManagementPortTests {
......
......@@ -23,7 +23,7 @@ import org.springframework.test.context.TestPropertySource;
*
* @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 {
}
......@@ -24,7 +24,7 @@ import org.springframework.test.context.TestPropertySource;
*
* @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 {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment