Skip to content

Commit

Permalink
Merge pull request #83 from ASAP-Lettering/ASAP-199
Browse files Browse the repository at this point in the history
ASAP-199 fix: 네임드 파라미터 도입
  • Loading branch information
tlarbals824 authored Oct 12, 2024
2 parents 7394f2c + 2375e33 commit cdbbcbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class SocialLoginService(
} ?: run {
val registerToken =
userTokenConvertPort.generateRegisterToken(
authInfo.socialId,
authInfo.socialLoginProvider.name,
authInfo.username,
authInfo.profileImage,
authInfo.email,
socialId = authInfo.socialId,
socialLoginProvider = authInfo.socialLoginProvider.name,
username = authInfo.username,
profileImage = authInfo.profileImage,
email = authInfo.email,
)
userTokenManagementPort.saveUserToken(UserToken(token = registerToken))
SocialLoginUsecase.NonRegistered(registerToken)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ class SocialLoginServiceTest :
} returns null
every {
mockUserTokenConvertPort.generateRegisterToken(
authInfo.socialId,
authInfo.socialLoginProvider.name,
authInfo.username,
authInfo.profileImage,
authInfo.email,
socialId = authInfo.socialId,
socialLoginProvider = authInfo.socialLoginProvider.name,
username = authInfo.username,
email = authInfo.email,
profileImage = authInfo.profileImage,
)
} returns "registerToken"
`when`("가입되지 않았다면") {
Expand Down

0 comments on commit cdbbcbd

Please sign in to comment.