#1009 create list promotion page #720
GitHub Actions / Promotion-Service-Unit-Test-Results
succeeded
Sep 16, 2024 in 0s
10 passed, 0 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
promotion/target/surefire-reports/TEST-com.yas.promotion.controller.PromotionControllerTest.xml | 6✅ | 6s | ||
promotion/target/surefire-reports/TEST-com.yas.promotion.service.PromotionServiceTest.xml | 4✅ | 9s |
✅ promotion/target/surefire-reports/TEST-com.yas.promotion.controller.PromotionControllerTest.xml
6 tests were completed in 6s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.promotion.controller.PromotionControllerTest | 6✅ | 6s |
✅ com.yas.promotion.controller.PromotionControllerTest
✅ testCreatePromotion_whenNameIsOverMaxLength_thenReturnBadRequest
✅ testCreatePromotion_whenNameIsBlank_thenReturnBadRequest
✅ testCreatePromotion_whenDiscountPercentageIsGreaterThanHundred_thenReturnBadRequest
✅ testCreatePromotion_whenDiscountPercentageIsSmallerThanZero_thenReturnBadRequest
✅ testCreatePromotion_whenDiscountAmountIsSmallerThanZero_thenReturnBadRequest
✅ testCreatePromotion_whenRequestIsValid_thenReturnOk
✅ promotion/target/surefire-reports/TEST-com.yas.promotion.service.PromotionServiceTest.xml
4 tests were completed in 9s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.promotion.service.PromotionServiceTest | 4✅ | 9s |
✅ com.yas.promotion.service.PromotionServiceTest
✅ createPromotion_ThenSuccess
✅ createPromotion_WhenExistedSlug_ThenDuplicatedExceptionThrown
✅ getPromotionList_ThenSuccess
✅ createPromotion_WhenEndDateBeforeStartDate_ThenDateRangeExceptionThrown
Loading