Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be/#185 Comment 도메인 리팩토링 및 테스트 코드 수정 #187

Merged
merged 9 commits into from
Aug 18, 2023

Conversation

youKeon
Copy link
Collaborator

@youKeon youKeon commented Aug 16, 2023

🛠️ 변경사항

  • 테스트 코드 포멧 변경 필요하시면 말씀 주세요!


☝️ 유의사항



👀 참고자료



❗체크리스트

  • 하나의 메소드는 최소의 기능만 하도록 설정했나요?
  • 수정 가능하도록 유연하게 작성했나요?
  • 필요 없는 import문이나 setter 등을 삭제했나요?
  • 기존의 코드에 영향이 없는 것을 확인하였나요?

@github-actions
Copy link

github-actions bot commented Aug 16, 2023

Unit Test Results

25 tests  ±0   25 ✔️ ±0   41s ⏱️ +5s
18 suites ±0     0 💤 ±0 
  1 files   ±0     0 ±0 

Results for commit 9610c16. ± Comparison against base commit 49ceafd.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@kimhalin kimhalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 확인해주세요!

Comment on lines -39 to -40
public ResponseEntity<ResultResponse> updateComment(@Validated @RequestBody UpdateCommentRequest dto, @PathVariable Long commentId, @CurrentUser Member loginUser) {
commentService.updateComment(commentId, dto);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currentuser 같은 경우에는 당장 사용하지 않아서 삭제하신 거죠!? 댓글은 작성자만 삭제할 수 있도록 하는 로직이 나중에는 필요할 것 같긴해요 !

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapper 따로 안 만들고 dto 클래스 내에 함수로 생성하기로 했었습니다! 확인 부탁드려용

@youKeon youKeon merged commit 77c41ab into feature Aug 18, 2023
2 of 3 checks passed
@youKeon youKeon deleted the BE/#185 branch August 18, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants