Skip to content

Commit

Permalink
chore : git push reject ํ•ด๊ฒฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeel5839 committed Sep 21, 2023
2 parents 53c8a11 + b0729f0 commit 634afdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.springframework.web.multipart.MultipartFile;

@Service
@Profile("!test") // TODO : Test ์‹œ์—๋Š” TestS3ServiceImpl ๋ฅผ Component ๋กœ ๋„์šฐ๊ธฐ ์œ„ํ•ด Profile ์„ ๋ถ„๋ฆฌํ•˜์˜€์Šต๋‹ˆ๋‹ค.
@Profile("!test")
public class S3ImageService implements ImageService {

@Value("${prefix.upload.path}")
Expand All @@ -26,7 +26,7 @@ public String upload(MultipartFile multipartFile) {
UploadFile uploadFile = UploadFile.from(multipartFile);
s3Client.upload(uploadFile);
return getUploadPath(uploadFile);
} catch (IOException exception) { // TODO : ์ด๊ฑฐ ์–ด๋–ป๊ฒŒ ์ฒ˜๋ฆฌํ•ด์•ผํ• ๊นŒ์š”..
} catch (IOException exception) {
throw new RuntimeException(exception);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;

import com.mapbefine.mapbefine.image.FileFixture;
import com.mapbefine.mapbefine.auth.domain.AuthMember;
import com.mapbefine.mapbefine.auth.domain.member.Admin;
import com.mapbefine.mapbefine.auth.domain.member.Guest;
import com.mapbefine.mapbefine.common.annotation.ServiceTest;
import com.mapbefine.mapbefine.image.FileFixture;
import com.mapbefine.mapbefine.image.exception.ImageException.ImageBadRequestException;
import com.mapbefine.mapbefine.location.LocationFixture;
import com.mapbefine.mapbefine.location.domain.Location;
import com.mapbefine.mapbefine.location.domain.LocationRepository;
Expand All @@ -25,7 +26,6 @@
import com.mapbefine.mapbefine.pin.dto.response.PinDetailResponse;
import com.mapbefine.mapbefine.pin.dto.response.PinImageResponse;
import com.mapbefine.mapbefine.pin.exception.PinException.PinForbiddenException;
import com.mapbefine.mapbefine.image.exception.ImageException.ImageBadRequestException;
import com.mapbefine.mapbefine.topic.TopicFixture;
import com.mapbefine.mapbefine.topic.domain.Topic;
import com.mapbefine.mapbefine.topic.domain.TopicRepository;
Expand Down

0 comments on commit 634afdc

Please sign in to comment.