Skip to content

Commit

Permalink
Test | CAKK-54 | 테스트 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lcomment committed Aug 25, 2024
1 parent 552c9cd commit 8dd48b2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ void heartCake3() {
// given
final User user = getUser();
final Long cakeId = 1L;
final Cake cake = getConstructorMonkey().giveMeOne(Cake.class);

doThrow(new CakkException(ReturnCode.NOT_EXIST_CAKE)).when(cakeReader).findById(cakeId);

Expand All @@ -172,7 +171,6 @@ void heartCake3() {
ReturnCode.NOT_EXIST_CAKE.getMessage());

verify(cakeReader, times(1)).findById(cakeId);
verify(cakeHeartReader, times(0)).findOrNullByUserAndCake(user, cake);
}

@TestWithDisplayName("케이크 샵에 대하여 하트를 동작한다.")
Expand Down

0 comments on commit 8dd48b2

Please sign in to comment.