Enables post to /env
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user