update to new web endpoint property

This commit is contained in:
Spencer Gibb
2018-02-12 12:15:32 -05:00
parent 1c4e95deb6
commit 40880bf7bd

View File

@@ -25,7 +25,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", "management.endpoints.web.expose=*" }, webEnvironment = RANDOM_PORT)
"management.security.enabled=false", "management.endpoints.web.exposure.include=*" }, webEnvironment = RANDOM_PORT)
public class ApplicationTests {
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();