Fix wrong property name to expose actuators
This commit is contained in:
@@ -49,7 +49,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@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 {
|
public class EnvironmentManagerIntegrationTests {
|
||||||
|
|
||||||
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();
|
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@RunWith(SpringRunner.class)
|
@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 {
|
public class RefreshEndpointIntegrationTests {
|
||||||
|
|
||||||
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();
|
private static final String BASE_PATH = new WebEndpointProperties().getBasePath();
|
||||||
|
|||||||
Reference in New Issue
Block a user