Skip to content

Commit

Permalink
TEST : 리뷰 상세 댓글 정보 조회 컨트롤러 테스트 진행 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
choidongkuen committed Dec 27, 2023
1 parent 0e55b9a commit 4ee30d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,17 @@ public void countReviewLikedCount() {
this.likedCount += 1;
}

// TODO : 제거
public void setReviewImage(ReviewImage reviewImage) {
this.reviewImages.add(reviewImage);
}

// TODO : 제거
public void setReviewLikes(List<ReviewLike> reviewLikes) {
this.reviewLiked = reviewLikes;
}

// TODO : 제거
public void setReviewsComment(List<Comment> comments) {
this.reviewComment = comments;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static ReviewCommentResponse from(Comment comment, boolean isMine) {
.id(comment.getId())
.reviewCommentUserInfoResponse(ReviewCommentUserInfoResponse.from(comment.getUsers()))
.comment(comment.getComment())
.createdAt(comment.getCreatedAt() == null ? null : comment.getCreatedAt().toLocalDate())
.createdAt(comment.getCreatedAt().toLocalDate())
.isMine(isMine)
.build();
}
Expand Down

0 comments on commit 4ee30d7

Please sign in to comment.