-
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
5 additions
and
5 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 |
---|---|---|
|
@@ -12,8 +12,8 @@ | |
|
||
import com.dnd.gongmuin.member.domain.Member; | ||
import com.dnd.gongmuin.member.dto.request.AdditionalInfoRequest; | ||
import com.dnd.gongmuin.member.dto.request.ValidNickNameRequest; | ||
import com.dnd.gongmuin.member.dto.response.ValidNickNameResponse; | ||
import com.dnd.gongmuin.member.dto.request.ValidateNickNameRequest; | ||
import com.dnd.gongmuin.member.dto.response.ValidateNickNameResponse; | ||
import com.dnd.gongmuin.member.repository.MemberRepository; | ||
|
||
@Transactional | ||
|
@@ -63,13 +63,13 @@ void isDuplicatedNickname() { | |
Member member1 = createMember("김철수", "철수", "kakao123/[email protected]", "[email protected]"); | ||
memberRepository.save(member1); | ||
|
||
ValidNickNameRequest request = new ValidNickNameRequest("김철수"); | ||
ValidateNickNameRequest request = new ValidateNickNameRequest("김철수"); | ||
|
||
// when | ||
ValidNickNameResponse duplicatedNickname = memberService.isDuplicatedNickname(request); | ||
ValidateNickNameResponse duplicatedNickname = memberService.isDuplicatedNickname(request); | ||
|
||
// then | ||
assertThat(duplicatedNickname.isDuplicate()).isTrue(); | ||
assertThat(duplicatedNickname.isDuplicated()).isTrue(); | ||
} | ||
|
||
@DisplayName("신규 회원은 추가 정보가 업데이트 된다.") | ||
|