-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,8 +62,6 @@ public class AuthControllerTest extends AbstractControllerTest { | |
@MockBean | ||
JwtUtil jwtUtil; | ||
|
||
// @MockBean | ||
// AuthUserArgumentResolver authUserArgumentResolver; | ||
@Test | ||
@DisplayName("카카오 소셜 로그인을 할 수 있다.") | ||
void kakaoSocialLogin() throws Exception { | ||
|
@@ -98,8 +96,9 @@ void register() throws Exception { | |
//given | ||
StudentInfoDto studentInfoDto = new StudentInfoDto("소프트웨어학과", "2021123123"); | ||
RegisterRequest request = new RegisterRequest("stop-user", "010-1234-1234", UserType.STUDENT, "[email protected]", | ||
"ad", studentInfoDto); | ||
"ad", studentInfoDto, null, null); | ||
User user = new User("1"); | ||
user.register("stop-user","[email protected]","010-1234-1234",UserType.STUDENT,"signupsource"); | ||
RegisterResponse registerResponse = RegisterResponse.from(user); | ||
when(authService.finishRegister(any(), any())) | ||
.thenReturn(registerResponse); | ||
|