-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/#240 스터디원 중복 추가 불가 기능 개발 #247
base: develop
Are you sure you want to change the base?
The head ref may contain hidden characters: "Feature/#240-\uC2A4\uD130\uB514\uC6D0-\uC911\uBCF5-\uCD94\uAC00-\uBD88\uAC00-\uAE30\uB2A5-\uAC1C\uBC1C"
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰가 늦었습니다...! 작은 수정사항 적어두었으니 확인부탁드립니다~!!
그리고 굉장히 사소하지만 branch명은 Feature/#이슈번호-이슈_내용_입니다 이렇게 이슈 내용은 언더바를 사용하고 있으니 참고 부탁드립니다!!
+) getParticipants_참여자를_정상적으로_조회할_수_있다_성공() 테스트가 실패하는 것 같습니다. 확인부탁드려요!
public void duplicateCheckStudyMember(final Long studyId, final Long memberId) { | ||
if (studyRoleRepository.existsByStudyIdAndMemberId(studyId, memberId)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희가 사용하는 단어 통일을 했습니다! (노션에 용어사전있음)
스터디(Study) - 참여자(Participant)
팀(Team) - 팀원(MemberTeam)
그래서 StudyMember가 아닌 Participant로 하면 좋을 것 같습니다!
Boolean existsByStudyIdAndMemberId(Long studyId, Long memberId); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existsByStudyIdAndMemberIdAndStudyRoleType
, deleteByStudyIdAndMemberId
혹시 이거 어디갔는지 아시나요...?? 왜 없어졌을까요..?
final Long studyId = study.getId(); | ||
final Member participant = createMember(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
participant도 좋지만 alreadyJoinedParticipant 같이 이 테스트의 의미가 잘 나타나는 이름으로 지으면 의미가 더 잘 전달될 것 같아요!
#️⃣ 연관된 이슈
close: #240
📝 작업 내용
💬 리뷰 요구사항(선택)