Skip to content

Commit

Permalink
feat: use simplified assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Nov 16, 2023
1 parent 683c911 commit b3a0b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void testFindAuthorByEmailId() {
.errors()
.satisfy(
responseErrors -> {
assertThat(responseErrors.size()).isEqualTo(1);
assertThat(responseErrors).hasSize(1);
assertThat(responseErrors.getFirst().getPath())
.isEqualTo("findAuthorByEmailId");
assertThat(responseErrors.getFirst().getErrorType())
Expand Down

0 comments on commit b3a0b8b

Please sign in to comment.