Skip to content

Commit

Permalink
another round
Browse files Browse the repository at this point in the history
  • Loading branch information
istraka committed Dec 12, 2019
1 parent 80d075a commit c4f4f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void testHealthEndpoint() {
.contentType(ContentType.JSON)
.header("Content-Type", containsString("application/json"))
.body("status", is("UP"),
"checks", hasSize(3), // BothHealthCheck contains both annotations: @Liveness and @Readiness
"checks", hasSize(3),
"checks.status", hasItems("UP"),
"checks.status", not(hasItems("DOWN")));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void testHealthEndpoint() {
.contentType(ContentType.JSON)
.header("Content-Type", containsString("application/json"))
.body("status", is("UP"),
"checks", hasSize(3), // BothHealthCheck contains both annotations: @Liveness and @Readiness
"checks", hasSize(3),
"checks.status", hasItems("UP"),
"checks.status", not(hasItems("DOWN")));
}
Expand Down

0 comments on commit c4f4f02

Please sign in to comment.