|
|
@ -52,7 +52,7 @@ class JerseyEndpointIntegrationTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
void linksPageIsNotAvailableWhenDisabled() {
|
|
|
|
void linksPageIsNotAvailableWhenDisabled() {
|
|
|
|
getContextRunner(new Class[] { EndpointsConfiguration.class, ResourceConfigConfiguration.class })
|
|
|
|
getContextRunner(new Class<?>[] { EndpointsConfiguration.class, ResourceConfigConfiguration.class })
|
|
|
|
.withPropertyValues("management.endpoints.web.discovery.enabled:false").run((context) -> {
|
|
|
|
.withPropertyValues("management.endpoints.web.discovery.enabled:false").run((context) -> {
|
|
|
|
int port = context
|
|
|
|
int port = context
|
|
|
|
.getSourceApplicationContext(AnnotationConfigServletWebServerApplicationContext.class)
|
|
|
|
.getSourceApplicationContext(AnnotationConfigServletWebServerApplicationContext.class)
|
|
|
|