Skip to content

Commit

Permalink
test5
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzzseong committed Feb 2, 2024
1 parent e71fced commit 91e2213
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,14 @@ class SinglePurchaseTest {

@BeforeEach
void setUp() {
product = productRepository.save(ANOTHER_TEST_PRODUCT);
product = productRepository.save(
Product.builder()
.title(TEST_PRODUCT_TITLE)
.content(TEST_PRODUCT_CONTENT)
.price(TEST_PRICE)
.quantity(TEST_QUANTITY)
.build()
);
hotdeal = hotdealRepository.save(
HotdealTestUtil.createHotdeal(TEST_START_DAY, TEST_DUE_DAY, TEST_DEAL_QUANTITY,
TEST_SALE, product));
Expand Down

0 comments on commit 91e2213

Please sign in to comment.