Skip to content

Commit

Permalink
refactor: #72 불필요한 코드 제거 및 테스트 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tinon1004 committed Mar 21, 2024
1 parent 7582212 commit 7a1d76a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public enum CustomExceptionType {
USER_KAKAO_UID_DUPLICATION(2204, "이미 가입한 계정입니다."),
USER_NOT_FOUND_BY_KAKAO_UID(2205, "일치하는 회원을 찾을 수 없습니다."),
USER_NOT_FOUND_BY_PHONE(2206, "일치하는 회원을 찾을 수 없습니다."),
USER_ID_FORBIDDEN(2207, "해당 유저는 접근이 금지되었습니다."),

KAKAO_CLIENT(10000, "카카오 서버와의 통신 중 오류가 발생했습니다."),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void securitySetUp() throws Exception {
String newContactLink = "https://new-contact-link.com";
UserDto expectedResult = createUserDto(userId);
UserDetails testUser = createTestUser(userId);
given(userCommandService.updateContactLink(anyLong(), anyString())).willReturn(expectedResult);
given(userCommandService.updateContactLink(userId, newContactLink)).willReturn(expectedResult);

// when & then
mvc.perform(
Expand Down

0 comments on commit 7a1d76a

Please sign in to comment.