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.
#️⃣연관된 이슈
📝작업 내용
💬리뷰 요구사항(선택)
이 부분 테스트를 원래는 다음과 같이 어떤 에러가 나는지 명시하고 있었습니다
자꾸 MockException이 떠서
어떤 에러든 발생하면 무조건 성공하는 걸로 했는데 다른 해결방법이 있는지 모르겠습니다
제가 Service에서 사용하는 다른 Util이나 Repository의 메서드 결과를 명시하지 않아서 MockException이 발생하는 것이었습니다!
그래서 다음과 같이 수정했는데
저렇게 모든것을 Mock으로 처리하는 테스트가 무슨 의미가 있나 싶습니다