Skip to content

Conversation

@X1n9fU
Copy link
Contributor

@X1n9fU X1n9fU commented Jul 2, 2025

#️⃣ 연관된 이슈

ex) #이슈번호, #이슈번호
#218 #211 #208

📝 작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

스크린샷 (선택)

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

doma17 and others added 30 commits June 23, 2025 17:04
- EmailAuthService와 EmailSendService 계층 분리
- 과거 EmailAuthService을 JoinEmailAuthService와 PasswordResetEmailService로 책임 분리
- EmailSendService에서 EmailTemplateService로 변경을 통해 이메일 전송 역할 명확화
아래와 같은 세가지에 대해서 테스트를 작성했습니다.
- EmailTemplateServiceTest
- JoinEmailAuthServiceTest
- PasswordResetEmailServiceTest

테스트시 객체 생성 메서드가 없기에 두개의 DTO 클래스에 Builder를 추가했습니다.
- JoinEmailCheckRequestDto
- JoinEmailSendRequestDto
- EmailController : 불필요한 공백 제거
- EmailTemplateService : 예외처리 추가
- EmailTemplateServiceTest : 가독성 개선
- JoinEmailAuthService : 잘못된 주석 제거와 가독성 향상
- PasswordResetEmailService : 잘못된 주석 제거
- EmailTemplateFailException 으로 예외처리 추가
비밀번호 재인증 로직 중 기존 인증정보가 존재하지 않을 때에는 예외처리
- EmailPasswordResetFailException 으로 예외처리 추가
수정된 기능 상황에 맞게 테스트 수정
refactor : Email 도메인 리팩토링
- EmailTemplateFailException : import 최적화
- EmailTemplateFailException : 테스트 예외처리 수정
refactor : Email 도메인 리팩토링 / 테스트 예외처리 수정 추가
fix : GlobalException, ErrorCode interface 설정. ChatException 제작
- EmailAuthService와 EmailSendService 계층 분리
- 과거 EmailAuthService을 JoinEmailAuthService와 PasswordResetEmailService로 책임 분리
- EmailSendService에서 EmailTemplateService로 변경을 통해 이메일 전송 역할 명확화
아래와 같은 세가지에 대해서 테스트를 작성했습니다.
- EmailTemplateServiceTest
- JoinEmailAuthServiceTest
- PasswordResetEmailServiceTest

테스트시 객체 생성 메서드가 없기에 두개의 DTO 클래스에 Builder를 추가했습니다.
- JoinEmailCheckRequestDto
- JoinEmailSendRequestDto
- EmailController : 불필요한 공백 제거
- EmailTemplateService : 예외처리 추가
- EmailTemplateServiceTest : 가독성 개선
- JoinEmailAuthService : 잘못된 주석 제거와 가독성 향상
- PasswordResetEmailService : 잘못된 주석 제거
- EmailTemplateFailException 으로 예외처리 추가
비밀번호 재인증 로직 중 기존 인증정보가 존재하지 않을 때에는 예외처리
- EmailPasswordResetFailException 으로 예외처리 추가
수정된 기능 상황에 맞게 테스트 수정
- EmailTemplateFailException : import 최적화
- EmailTemplateFailException : 테스트 예외처리 수정
@X1n9fU X1n9fU self-assigned this Jul 2, 2025
@X1n9fU X1n9fU added the 🌏 Deploy 배포 관련 label Jul 2, 2025
@X1n9fU X1n9fU merged commit 3848628 into main Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌏 Deploy 배포 관련

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants