Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Mar 7, 2019
1 parent 6586bae commit 8325fce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
* <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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,9 @@ public void outcomeWithNoEndpointReferenceShouldFail() {

@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")
Expand Down

0 comments on commit 8325fce

Please sign in to comment.