Fix formatting
This commit is contained in:
parent
6586bae889
commit
8325fce53e
|
@ -37,7 +37,8 @@ import org.springframework.core.env.Environment;
|
|||
* <li>{@code "management.endpoints.web.exposure.*"} expose this endpoint</li>
|
||||
* <li>or if JMX is enabled and {@code "management.endpoints.jmx.exposure.*"} expose this
|
||||
* endpoint</li>
|
||||
* <li>or if the application is running on {@link org.springframework.boot.cloud.CloudPlatform#CLOUD_FOUNDRY}</li>
|
||||
* <li>or if the application is running on
|
||||
* {@link org.springframework.boot.cloud.CloudPlatform#CLOUD_FOUNDRY}</li>
|
||||
* </ul>
|
||||
*
|
||||
* When placed on a {@code @Bean} method, the endpoint defaults to the return type of the
|
||||
|
|
|
@ -144,10 +144,9 @@ public class ConditionalOnExposedEndpointTests {
|
|||
|
||||
@Test
|
||||
public void outcomeOnCloudFoundryShouldMatchAll() {
|
||||
this.contextRunner
|
||||
.withPropertyValues("VCAP_APPLICATION:---")
|
||||
.run((context) -> assertThat(context).hasBean("info")
|
||||
.hasBean("health").hasBean("spring").hasBean("test"));
|
||||
this.contextRunner.withPropertyValues("VCAP_APPLICATION:---")
|
||||
.run((context) -> assertThat(context).hasBean("info").hasBean("health")
|
||||
.hasBean("spring").hasBean("test"));
|
||||
}
|
||||
|
||||
@Endpoint(id = "health")
|
||||
|
|
Loading…
Reference in New Issue