-
Notifications
You must be signed in to change notification settings - Fork 6
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
[BE] 회원가입/로그인 후 토큰을 반환한다. #212
Conversation
# Conflicts: # backend/bang-ggood/src/main/java/com/bang_ggood/exception/ExceptionCode.java
# Conflicts: # backend/bang-ggood/src/main/java/com/bang_ggood/exception/ExceptionCode.java
# Conflicts: # backend/bang-ggood/src/main/java/com/bang_ggood/user/controller/UserController.java # backend/bang-ggood/src/main/java/com/bang_ggood/user/dto/request/OauthLoginRequest.java # backend/bang-ggood/src/main/java/com/bang_ggood/user/dto/response/OauthInfoResponse.java # backend/bang-ggood/src/main/java/com/bang_ggood/user/service/UserService.java
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.
구현하느라 고생많으셨습니다!
테스트도 잘 작성해 주신 것 같아요!
간단한 코멘트만 남겨놨습니다~
import org.springframework.data.jpa.repository.config.EnableJpaAuditing; | ||
|
||
@ConfigurationPropertiesScan |
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.
ConfigurationProperties를 쓰는 부분이 있나요?
따로 이 어노테이션을 추가하신 이유가 있을까요?
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.
헉 ..! 저번 리뷰 반영하다 들어간 것 같네요 삭제하겠습니다!!
@Test | ||
void login_signup() { | ||
// given | ||
Mockito.when(oauthClient.requestOauthInfo(new OauthLoginRequest(""))) |
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.
OauthLoginRequest
도 Fixture로 분리하는 건 어떤가요?
불필요하다 생각하면 유지하셔도 좋습니다!
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.
👍 리뷰 반영했습니다~
backend/bang-ggood/src/main/java/com/bang_ggood/user/domain/User.java
Outdated
Show resolved
Hide resolved
backend/bang-ggood/src/main/java/com/bang_ggood/user/dto/response/OauthInfoResponse.java
Outdated
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/user/service/JwtTokenProviderTest.java
Outdated
Show resolved
Hide resolved
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.
제제 수고하셨습니다~ 간단한 질문들을 남겼어요!
확인하고 반영할 부분만 반영하시면 될 것 같아요
backend/bang-ggood/src/main/java/com/bang_ggood/category/service/CategoryService.java
Show resolved
Hide resolved
backend/bang-ggood/src/main/java/com/bang_ggood/user/controller/UserController.java
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/AcceptanceMockTestSupport.java
Outdated
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/checklist/ChecklistFixture.java
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/checklist/service/ChecklistServiceTest.java
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/user/UserFixture.java
Outdated
Show resolved
Hide resolved
backend/bang-ggood/src/test/java/com/bang_ggood/user/controller/LoginMockE2ETest.java
Show resolved
Hide resolved
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.
comment로 잘못 남겨서 RC로 다시 남깁니다~
❗ Issue
✨ 구현한 기능
📢 논의하고 싶은 내용
🎸 기타