Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 쿠폰 기한을 LocalDate 최대값으로 수정 #126

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading