Skip to content

Commit

Permalink
style: remove blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
ASak1104 committed Aug 4, 2024
1 parent 686995a commit 537b967
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ void cleanUp() {
ThrowingCallable deleteNotExistPost = () -> postService.deleteById(user.getId(), post.getId() + 1);

// then

assertThatExceptionOfType(DataNotFoundException.class)
.isThrownBy(deleteNotExistPost)
.withMessage(PostErrorCode.POST_NOT_FOUND.getMessage());
Expand All @@ -218,7 +217,6 @@ void cleanUp() {
ThrowingCallable deleteByNotMatchingUser = () -> postService.deleteById(user.getId() + 1, post.getId());

// then

assertThatExceptionOfType(ForbiddenException.class)
.isThrownBy(deleteByNotMatchingUser)
.withMessage(PostErrorCode.AUTHOR_NOT_MATCHING.getMessage());
Expand Down

0 comments on commit 537b967

Please sign in to comment.