Skip to content

Commit

Permalink
fix : 사진 저장 uri 가 cloudfront를 사용하도록 변경된 대로 테스트 코드 수정 (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
birdieHyun authored May 23, 2024
1 parent 415b95c commit 7362a34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void uploadFileTest() {
StoreDetail storeDetail = StoreDetail.builder()
.build();
String randomId = storeImageService.makeRandomId();
String expectedUrl = "https://null.s3.ap-northeast-2.amazonaws.com/store-image/filename.jpg" + randomId;
String expectedUrl = "https://file.upbrella.co.kr/store-image/filename.jpg" + randomId;

given(storeDetailService.findByStoreMetaId(storeDetailId)).willReturn(storeDetail);
given(s3Client.putObject(any(PutObjectRequest.class), any(RequestBody.class))).willReturn(PutObjectResponse.builder().build());
Expand Down

0 comments on commit 7362a34

Please sign in to comment.