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

✨ [Feature] 토너먼트 유저 참가 신청 API #383

Merged
merged 7 commits into from
Dec 14, 2023

Conversation

SONGS4RI
Copy link
Contributor

@SONGS4RI SONGS4RI commented Dec 13, 2023

📌 개요

  • 유저 참가 신청 API 입니다.
  • 해당 토너먼트에 참가 신청을 하지않은 상태인 BEFORE 일때만 신청 가능합니다. (아닐시 throw)

💻 작업사항

  • TournamentAdminAddUserResponseDto : boolean -> Boolean 으로 변경
  • TournamentAdminService: java docs 추가 및 코드 가독성 개선
  • TournamentController && TournamentService: 토너먼트 유저 참가 신청 매서드 추가
  • TournamentUserRepository : findAllByUser 매서드 추가
  • TournamentFindControllerTest && TournamentServiceTest: 테스트 코드 추가

✅ 변경로직

  • TournamentServiceTest: 잘못된 테스트 코드 삭제

💡Issue 번호

Copy link
Contributor

@Newsujin Newsujin left a comment

Choose a reason for hiding this comment

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

코멘트 확인 부탁드립니다!

@SONGS4RI SONGS4RI requested a review from Newsujin December 13, 2023 08:18
Newsujin
Newsujin previously approved these changes Dec 13, 2023
Copy link
Contributor

@Newsujin Newsujin left a comment

Choose a reason for hiding this comment

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

확인했습니다!!!!

@SONGS4RI SONGS4RI added the enhancement New feature or request label Dec 13, 2023
@Kimhan-nah Kimhan-nah modified the milestone: Sprint 6 Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7434164) 69.26% compared to head (46c640d) 69.33%.

Files Patch % Lines
...r/domain/tournament/service/TournamentService.java 92.30% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev     #383      +/-   ##
============================================
+ Coverage     69.26%   69.33%   +0.07%     
- Complexity      787      795       +8     
============================================
  Files           251      251              
  Lines          3579     3594      +15     
  Branches        342      344       +2     
============================================
+ Hits           2479     2492      +13     
+ Misses          909      907       -2     
- Partials        191      195       +4     
Flag Coverage Δ
integrationTest 69.28% <94.11%> (+0.07%) ⬆️
unitTest 8.62% <70.58%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@middlefitting middlefitting left a comment

Choose a reason for hiding this comment

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

로직이 복잡한데 고생 많으셨습니다 😀. 테스트 코드도 충분히 잘 작성해 주신거 같아요.

Copy link
Contributor

@Newsujin Newsujin left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!!

@SONGS4RI SONGS4RI merged commit 617ffbf into dev Dec 14, 2023
4 checks passed
@SONGS4RI SONGS4RI deleted the register-tournament-user branch December 14, 2023 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ [Feature] 토너먼트 참가 신청
4 participants