Skip to content

Commit

Permalink
[test] : 레코드 필드명 수정에 따른 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dudxo committed Aug 2, 2024
1 parent c4b6e0d commit 75a63fa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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("신규 회원은 추가 정보가 업데이트 된다.")
Expand Down

0 comments on commit 75a63fa

Please sign in to comment.