Updates for boot 2.0 compatibility

This commit is contained in:
Spencer Gibb
2017-11-22 11:41:54 -05:00
parent 58ed6cb2fa
commit 861ed9207c

View File

@@ -26,7 +26,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
// Normally spring.cloud.config.enabled:true is the default but since we have the config
// server on the classpath we need to set it explicitly
properties = { "spring.cloud.config.enabled:true",
"management.security.enabled=false", "endpoints.default.web.enabled=true" }, webEnvironment = RANDOM_PORT)
"management.security.enabled=false", "management.endpoints.web.expose=*" }, webEnvironment = RANDOM_PORT)
public class ApplicationTests {
private static int configPort = SocketUtils.findAvailableTcpPort();