Fix actuator path used in tests

This commit is contained in:
Madhura Bhave 2017-05-04 14:59:47 -07:00
parent 2519d73f5e
commit ba8bdd2683
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class EnvironmentMvcEndpointTests {
Map<String, Object> source = new HashMap<String, Object>();
source.put("foo", Collections.singletonMap("bar", "baz"));
propertySources.addFirst(new MapPropertySource("test", source));
this.mvc.perform(get("/env/foo.*")).andExpect(status().isOk())
this.mvc.perform(get("/application/env/foo.*")).andExpect(status().isOk())
.andExpect(content().string("{\"foo\":{\"bar\":\"baz\"}}"));
}