Skip to content

Commit

Permalink
Fixes broken hamcrest StringContains constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed May 22, 2019
1 parent 4e1b514 commit 59a55fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ServicesIT {
@Test
public void testServicesEndpoint() {
given().baseUri(String.format("%s://%s:%d", PROTOCOL, HOST, PORT)).get("services")
.then().statusCode(200).body(new StringContains("service-a") {
.then().statusCode(200).body(new StringContains(false, "service-a") {
@Override
protected boolean evalSubstringOf(String s) {
return s.contains("service-a") && s.contains("service-b");
Expand Down

0 comments on commit 59a55fd

Please sign in to comment.