Skip to content

Commit

Permalink
test 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hOch1 committed Oct 14, 2024
1 parent faac2c5 commit 2a144b1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ void getMyReviews() {
when(storeReviewRepository.findByMemberWithReviewPicsAndStore(member)).thenReturn(List.of(review1, review2));
when(review1.toMyPageResponse()).thenReturn(reviewDto1);
when(review2.toMyPageResponse()).thenReturn(reviewDto2);
when(review1.getStatus()).thenReturn(StoreReview.ReviewStatus.VISIBLE);
when(review2.getStatus()).thenReturn(StoreReview.ReviewStatus.VISIBLE);

// when
List<ReviewDto> reviewDtos = storeReviewService.getMyReviews(member);
Expand Down

0 comments on commit 2a144b1

Please sign in to comment.