Skip to content

Commit

Permalink
Merge pull request prgrms-be-devcourse#126 from prgrms-be-devcourse/f…
Browse files Browse the repository at this point in the history
…ix/test

fix: 쿠폰 기한을 LocalDate 최대값으로 수정
  • Loading branch information
pushedrumex authored Apr 17, 2024
2 parents 2721918 + e6c6052 commit a6a27d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void success() {
.discount(10000)
.description("TestDescription")
.minOrderPrice(1000)
.endAt(LocalDate.parse("2023-12-31"))
.endAt(LocalDate.MAX)
.build();

// Then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class CouponFixture {
private static final int DISCOUNT = 10000;
private static final String DESCRIPTION = "쿠폰설명";
private static final int MIN_ORDER_PRICE = 1000;
private static final LocalDate END_AT = LocalDate.parse("2023-12-31");
private static final LocalDate END_AT = LocalDate.MAX;

public static Coupon coupon() {
return Coupon
Expand Down

0 comments on commit a6a27d2

Please sign in to comment.