Skip to content

Commit

Permalink
refactor: #73 불필요한 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tinon1004 committed Mar 26, 2024
1 parent 3101ace commit d8ef54d
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit d8ef54d

Please sign in to comment.