diff --git a/backend/core/src/main/java/com/rollthedice/backend/domain/member/dto/MemberUpdateDto.java b/backend/core/src/main/java/com/rollthedice/backend/domain/member/dto/MemberUpdateDto.java index 8e0cd929..aac6c38c 100644 --- a/backend/core/src/main/java/com/rollthedice/backend/domain/member/dto/MemberUpdateDto.java +++ b/backend/core/src/main/java/com/rollthedice/backend/domain/member/dto/MemberUpdateDto.java @@ -13,14 +13,11 @@ public class MemberUpdateDto { @Schema(description = "변경할 닉네임") private String nickname; - @Schema(description = "변경할 이미지 S3 Url") - private String imageUrl; public MemberServiceDto toServiceDto(String email) { return MemberServiceDto.builder() .email(email) .nickname(this.nickname) - .imageUrl(this.imageUrl) .build(); } } diff --git a/backend/core/src/test/java/com/rollthedice/backend/domain/auth/AuthTest.java b/backend/core/src/test/java/com/rollthedice/backend/domain/auth/AuthTest.java index 1df44ec6..25085d20 100644 --- a/backend/core/src/test/java/com/rollthedice/backend/domain/auth/AuthTest.java +++ b/backend/core/src/test/java/com/rollthedice/backend/domain/auth/AuthTest.java @@ -35,7 +35,7 @@ public class AuthTest extends LoginTest { public void accessToken_로그인_성공() throws Exception { // when final ResultActions perform = mockMvc.perform(post("/members").contentType(MediaType.APPLICATION_JSON) - .content(toRequestBody(new MemberUpdateDto("yeonjy", "imageUrl2"))) + .content(toRequestBody(new MemberUpdateDto("yeonjy"))) .header("Authorization", "Bearer " + accessToken)); // then @@ -55,7 +55,7 @@ public class AuthTest extends LoginTest { // when final ResultActions perform = mockMvc.perform(post("/members").contentType(MediaType.APPLICATION_JSON) - .content(toRequestBody(new MemberUpdateDto("yeonjy", "imageUrl2"))) + .content(toRequestBody(new MemberUpdateDto("yeonjy"))) .header("Authorization", "Bearer " + accessToken)); // then @@ -78,7 +78,7 @@ public class AuthTest extends LoginTest { // when final ResultActions perform = mockMvc.perform(post("/members").contentType(MediaType.APPLICATION_JSON) - .content(toRequestBody(new MemberUpdateDto("yeonjy", "imageUrl2"))) + .content(toRequestBody(new MemberUpdateDto("yeonjy"))) .header("Authorization-refresh", "Bearer " + refreshToken)).andDo(print()); // then @@ -99,7 +99,7 @@ public class AuthTest extends LoginTest { // when final ResultActions perform = mockMvc.perform(post("/members").contentType(MediaType.APPLICATION_JSON) - .content(toRequestBody(new MemberUpdateDto("yeonjy", "imageUrl2"))) + .content(toRequestBody(new MemberUpdateDto("yeonjy"))) .header("Authorization-refresh", "Bearer " + refreshToken)).andDo(print()); // then