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

Pet 93 test : Unit Test용 애노테이션 및 테스트 환경에서 SecurityContextHolder에 인증 사용자 정보 주입 애노테이션 추가 #43

Merged
merged 9 commits into from
Sep 8, 2023

Conversation

tlarbals824
Copy link
Member

작업사항

  • UnitTest용 @UnitTestConfig 애노테이션 추가
  • 테스트 환경에서 SecurityContextHolder에 사용자 정보 주입 @WithMockAuthUser 애노테이션 추가
  • 모든 Unit Test에 @UnitTestConfig 적용
  • 테스트 패키지 구조 수정

변경로직

  • 내용을 적어주세요.

참고자료

  • 내용을 적어주세요.

@tlarbals824 tlarbals824 added ✅ Test 테스트 🔨 Refactor 리팩터링 ⚙ Setting 개발환경 설정 labels Sep 8, 2023
@tlarbals824 tlarbals824 merged commit e477858 into main Sep 8, 2023
@tlarbals824 tlarbals824 deleted the PET-93 branch September 8, 2023 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 리팩터링 ⚙ Setting 개발환경 설정 ✅ Test 테스트
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants