diff --git a/src/main/java/com/jeju/nanaland/domain/member/entity/Member.java b/src/main/java/com/jeju/nanaland/domain/member/entity/Member.java index cbc853c6..cf474f7e 100644 --- a/src/main/java/com/jeju/nanaland/domain/member/entity/Member.java +++ b/src/main/java/com/jeju/nanaland/domain/member/entity/Member.java @@ -141,7 +141,7 @@ public void updateLanguage(Language language) { public void updatePersonalInfo() { this.email = "INACTIVE@nanaland.com"; this.nickname = UUID.randomUUID().toString().substring(0, 16); - this.providerId = "INACTIVE"; + this.providerId = "INACTIVE" + nickname; this.gender = ""; this.birthDate = null; } diff --git a/src/test/java/com/jeju/nanaland/domain/member/service/MemberLoginServiceTest.java b/src/test/java/com/jeju/nanaland/domain/member/service/MemberLoginServiceTest.java index 95875da7..16ead2ff 100644 --- a/src/test/java/com/jeju/nanaland/domain/member/service/MemberLoginServiceTest.java +++ b/src/test/java/com/jeju/nanaland/domain/member/service/MemberLoginServiceTest.java @@ -630,7 +630,7 @@ void deleteWithdrawalMemberInfo() { // then: 회원 개인정보 삭제 확인 assertThat(member.getEmail()).isEqualTo("INACTIVE@nanaland.com"); - assertThat(member.getProviderId()).isEqualTo("INACTIVE"); + assertThat(member.getProviderId()).isEqualTo("INACTIVE"+member.getNickname()); assertThat(member.getGender()).isEmpty(); assertThat(member.getBirthDate()).isNull(); verify(member).updatePersonalInfo();