Skip to content

Commit

Permalink
Merge pull request #126 from prgrms-be-devcourse/fix/test
Browse files Browse the repository at this point in the history
fix: 쿠폰 기한을 LocalDate 최대값으로 수정
  • Loading branch information
pushedrumex authored Apr 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 2721918 + e6c6052 commit a6a27d2
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ public void success() {
.discount(10000)
.description("TestDescription")
.minOrderPrice(1000)
.endAt(LocalDate.parse("2023-12-31"))
.endAt(LocalDate.MAX)
.build();

// Then
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a6a27d2

Please sign in to comment.