Skip to content

Commit

Permalink
Verify status code
Browse files Browse the repository at this point in the history
  • Loading branch information
Janelle Law committed Jul 27, 2021
1 parent 3d9c0bd commit eb85807
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/itest/UploadCertificateIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ public void shouldThrowOnDuplicateCert() throws Exception {
form,
ar -> {
if (assertRequestStatus(ar, response)) {
MatcherAssert.assertThat(
ar.result().statusCode(), Matchers.equalTo(200));
response.complete(ar.result().bodyAsJsonObject());
}
});
Expand Down

0 comments on commit eb85807

Please sign in to comment.