|
|
|
|
@ -29,7 +29,6 @@ import org.springframework.boot.test.web.server.LocalServerPort;
@@ -29,7 +29,6 @@ import org.springframework.boot.test.web.server.LocalServerPort;
|
|
|
|
|
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory; |
|
|
|
|
import org.springframework.boot.web.server.servlet.ServletWebServerFactory; |
|
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; |
|
|
|
|
import org.springframework.test.web.servlet.client.RestTestClient; |
|
|
|
|
import org.springframework.test.web.servlet.client.RestTestClient.ResponseSpec; |
|
|
|
|
@ -108,7 +107,6 @@ abstract class AbstractSpringBootTestWebServerWebEnvironmentTests {
@@ -108,7 +107,6 @@ abstract class AbstractSpringBootTestWebServerWebEnvironmentTests {
|
|
|
|
|
assertThat(this.context).isSameAs(WebApplicationContextUtils.getWebApplicationContext(this.servletContext)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
|
static class AbstractConfig { |
|
|
|
|
|
|
|
|
|
@Value("${server.port:8080}") |
|
|
|
|
|