Skip to content

Commit

Permalink
Updates to use "components" rather than "details"
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Sep 30, 2019
1 parent 40ec606 commit ac60c28
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -85,8 +85,10 @@ public void testFailureFallback() {
@SuppressWarnings("unchecked")
public void testHystrixHealth() {
Map map = getHealth();
assertThat(map).containsKeys("details");
Map details = (Map) map.get("details");
// https://github.com/spring-projects/spring-boot/issues/17929
// if the default changes back, this will need to be reverted.
assertThat(map).containsKeys("components");
Map details = (Map) map.get("components");
assertThat(details).containsKeys("hystrix");
Map hystrix = (Map) details.get("hystrix");
assertThat(hystrix).containsEntry("status", "UP");
Expand Down

0 comments on commit ac60c28

Please sign in to comment.