Commit 8325fce5 authored by Brian Clozel's avatar Brian Clozel

Fix formatting

parent 6586bae8
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment