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