Skip to content

Commit

Permalink
test: 필요 없어진 테스트 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 committed Sep 29, 2023
1 parent b5445aa commit bbe9fa1
Showing 1 changed file with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ class ImageUrlCalculatorTest {
assertThat(actual).isEqualTo(absoluteUrl + profileImageId);
}

@Test
void 이미지_아이디가_null인_경우_프로필_사진의_URL로_null을_반환한다() {
// given
final Long emptyProfileImage = null;
final String absoluteUrl = "http://3-ddang.store/users/images/";

// when
final String actual = ImageUrlCalculator.calculateBy(absoluteUrl, emptyProfileImage);

// then
assertThat(actual).isNull();
}

@Test
void 경매_대표_이미지의_URL을_계산한다() {
// given
Expand All @@ -48,17 +35,4 @@ class ImageUrlCalculatorTest {
// then
assertThat(actual).isEqualTo(absoluteUrl + auctionImageId);
}

@Test
void 이미지_아이디가_null인_경우_경매_대표_이미지의_URL로_null을_반환한다() {
// given
final Long emptyAuctionImageId = null;
final String absoluteUrl = "http://3-ddang.store/users/images/";

// when
final String actual = ImageUrlCalculator.calculateBy(absoluteUrl, emptyAuctionImageId);

// then
assertThat(actual).isNull();
}
}

0 comments on commit bbe9fa1

Please sign in to comment.