From df4ee06953f60bc8f4d68aa5b2d558666f5de183 Mon Sep 17 00:00:00 2001 From: yeonjy Date: Tue, 30 Apr 2024 16:43:34 +0900 Subject: [PATCH] test: image url update X --- .../com/rollthedice/backend/domain/auth/AuthTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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