Skip to content

Commit

Permalink
RAC-306 test : 빌드 실패 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Feb 1, 2024
1 parent 4d4c3bb commit 5533191
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WishGetServiceTest {
void byWishIdFail() {
long wishId = 1L;
given(wishRepository.findByWishIdAndMatchingReceiveIsTrue(wishId))
.willReturn(ofNullable(null));
.willReturn(ofNullable(Wish.builder().build()));

assertThatThrownBy(() -> wishGetService.byWishId(wishId))
.isInstanceOf(WishNotFoundException.class);
Expand Down

0 comments on commit 5533191

Please sign in to comment.