-
Notifications
You must be signed in to change notification settings - Fork 7
[BE/test] 회원가입 API 테스트 #362
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
Conversation
verify(memberPort).command(any(MemberEntity.class)); | ||
verify(bCryptPasswordEncoder).encode(anyString()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verify 메서드에서 VerificationMode가 없는데 어떻게 검증을 하나요??
times(1) 혹은 atLeastOne 해야 맞는거 아닌가요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default 값이 times(1)입니다..😅

출처)
https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그렇구만
|
📌 관련 이슈
#360
🔑 주요 변경사항
리뷰어에게