From d8ef54d22ed4b5d6b84ca19fd22948f7aa4066eb Mon Sep 17 00:00:00 2001 From: tinon1004 Date: Tue, 26 Mar 2024 15:07:29 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20#73=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/UserProfileImageCommandServiceTest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/test/java/com/ajou/hertz/unit/domain/user/service/UserProfileImageCommandServiceTest.java b/src/test/java/com/ajou/hertz/unit/domain/user/service/UserProfileImageCommandServiceTest.java index b7170d8..5ebf454 100644 --- a/src/test/java/com/ajou/hertz/unit/domain/user/service/UserProfileImageCommandServiceTest.java +++ b/src/test/java/com/ajou/hertz/unit/domain/user/service/UserProfileImageCommandServiceTest.java @@ -13,12 +13,10 @@ import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.mock.web.MockMultipartFile; -import org.springframework.test.context.event.annotation.BeforeTestMethod; import org.springframework.web.multipart.MultipartFile; import com.ajou.hertz.common.file.dto.FileDto; import com.ajou.hertz.common.file.service.FileService; -import com.ajou.hertz.common.properties.HertzProperties; import com.ajou.hertz.domain.user.constant.Gender; import com.ajou.hertz.domain.user.constant.RoleType; import com.ajou.hertz.domain.user.entity.User; @@ -36,17 +34,9 @@ public class UserProfileImageCommandServiceTest { @Mock private UserProfileImageRepository userProfileImageRepository; - @Mock - private HertzProperties hertzProperties; - @Mock private FileService fileService; - @BeforeTestMethod - public void setUp() { - given(hertzProperties.userDefaultProfileImageUrl()).willReturn("https://user-default-profile-image"); - } - @Test void 기본_프로필_이미지인_경우_유저의_프로필_이미지를_최초로_업데이트한다() throws Exception { // given