Fix wrong property name to expose actuators

This commit is contained in:
Dave Syer
2018-02-13 09:25:23 +00:00
parent 46d92bb190
commit 18ba863e5f
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = TestConfiguration.class, properties = "management.endpoints.web.exposure.include=*")
@SpringBootTest(classes = TestConfiguration.class, properties = "management.endpoints.web.expose=*")
public class EnvironmentManagerIntegrationTests {
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();

View File

@@ -49,7 +49,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
*
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ClientApp.class, properties = "management.endpoints.web.exposure.include=*", webEnvironment = RANDOM_PORT)
@SpringBootTest(classes = ClientApp.class, properties = "management.endpoints.web.expose=*", webEnvironment = RANDOM_PORT)
public class RefreshEndpointIntegrationTests {
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();