Feat: 테스트 격리성 개선 및 WithMockCustomUser 어노테이션 제거 #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔗 Linked Issue
🛠 개발 기능
createTestMeeting
과createTestMember
메소드를 추가@BeforeEach
로 테스트 데이터 준비 및@AfterEach
로 테스트 데이터 제거@BeforeEach
에 보안 컨텍스트 설정@WithMockCustomUser
제거🧩 해결 방법
데이터 의존성을 줄인 테스트 코드 작성
🔍 리뷰 포인트
보안 컨텍스트를 직접 설정
하여 문제를 해결했어요.테스트 데이터를 직접 생성하고 제거
하는 식으로 의존성을 해결했어요.📋 Code Review Priority Guideline