Skip to content

Commit

Permalink
fix: controller 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed Aug 2, 2024
1 parent c5b3a91 commit ba2b71e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public class AuthControllerTest extends AbstractControllerTest {
@MockBean
JwtUtil jwtUtil;

// @MockBean
// AuthUserArgumentResolver authUserArgumentResolver;
@Test
@DisplayName("카카오 소셜 로그인을 할 수 있다.")
void kakaoSocialLogin() throws Exception {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ba2b71e

Please sign in to comment.