Enables post to /env

This commit is contained in:
Spencer Gibb
2020-02-03 16:37:04 -05:00
parent feb75d442d
commit a5e73c5897

View File

@@ -58,6 +58,7 @@ import static org.springframework.cloud.config.server.test.ConfigServerTestUtils
@RunWith(SpringRunner.class)
@SpringBootTest(classes = TestConfiguration.class,
properties = { "spring.cloud.config.enabled=true",
"management.endpoint.env.post.enabled=true",
"management.endpoints.web.exposure.include=env, refresh" },
webEnvironment = WebEnvironment.RANDOM_PORT)
@ActiveProfiles("test")