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

Feature/1003 payment provider #1243

Merged
merged 9 commits into from
Oct 31, 2024

[Payment] Embedded Payment-Paypal project into Payment project like a…

069f465
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feature/1003 payment provider #1243

[Payment] Embedded Payment-Paypal project into Payment project like a…
069f465
Select commit
Loading
Failed to load commit list.
GitHub Actions / Rating-Service-Unit-Test-Results succeeded Oct 31, 2024 in 0s

36 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
rating/target/failsafe-reports/TEST-com.yas.rating.controller.RatingControllerIT.xml 12✅ 56s
rating/target/surefire-reports/TEST-com.yas.rating.controller.RatingControllerTest.xml 7✅ 947ms
rating/target/surefire-reports/TEST-com.yas.rating.RatingApplicationTest.xml 1✅ 12s
rating/target/surefire-reports/TEST-com.yas.rating.service.OrderServiceTest.xml 2✅ 1s
rating/target/surefire-reports/TEST-com.yas.rating.service.RatingServiceTest.xml 14✅ 6s

✅ rating/target/failsafe-reports/TEST-com.yas.rating.controller.RatingControllerIT.xml

12 tests were completed in 56s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.rating.controller.RatingControllerIT 12✅ 56s

✅ com.yas.rating.controller.RatingControllerIT

✅ TestCreateRating_WhenValidRequest_ShouldSuccess
✅ testStorefrontGetRatingList_ShouldReturnList
✅ TestGetAverageStarOfProduct_ShouldReturnSuccess
✅ testDeleteRating_whenInvalidId_shouldReturnNotFoundException
✅ TestCreateRating_WhenInvalidUser_ShouldThrowNotFoundException
✅ getRatingListWithFilter_whenProvidedAccessToken_shouldReturnData
✅ getRatingListWithFilter_whenNotProvidedAccessToken_shouldThrowNotAuthenticatedException
✅ testDeleteRating_whenValidId_shouldReturn200
✅ testStorefrontGetRatingList_whenNotProvideAccessToken_shouldThrowNotAuthenticatedException
✅ testDeleteRating_whenNotProvidedAccessToken_shouldThrowNotAuthenticatedException
✅ TestCreateRating_WhenRatingExisted_ShouldThrowException
✅ testGetAverageStarOfProduct_whenProductNotExisted_shouldReturnZero

✅ rating/target/surefire-reports/TEST-com.yas.rating.controller.RatingControllerTest.xml

7 tests were completed in 947ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.rating.controller.RatingControllerTest 7✅ 947ms

✅ com.yas.rating.controller.RatingControllerTest

✅ testCreateRating_WhenValid_ShouldSuccess
✅ testStorefrontGetRatingList_ShouldReturnList
✅ testGetRatingListWithFilter
✅ testGetLatestRatings_WhenDataIsExisted_returnListRatingVm
✅ testDeleteRating_WhenValidId_ShouldReturn200
✅ testDeleteRating_WhenInvalidId_ShouldReturn404
✅ testGetAverageStarOfProduct_ShouldReturnSuccess

✅ rating/target/surefire-reports/TEST-com.yas.rating.RatingApplicationTest.xml

1 tests were completed in 12s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.rating.RatingApplicationTest 1✅ 12s

✅ com.yas.rating.RatingApplicationTest

✅ contextLoads

✅ rating/target/surefire-reports/TEST-com.yas.rating.service.OrderServiceTest.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.rating.service.OrderServiceTest 2✅ 1s

✅ com.yas.rating.service.OrderServiceTest

✅ testCheckOrderExistsByProductAndUserWithStatus_whenNormalCase_returnOrderExistsByProductAndUserGetVm
✅ testHandleFallback_whenNewOrderExistsByProductAndUserGetVm_returnOrderExistsByProductAndUserGetVm

✅ rating/target/surefire-reports/TEST-com.yas.rating.service.RatingServiceTest.xml

14 tests were completed in 6s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.rating.service.RatingServiceTest 14✅ 6s

✅ com.yas.rating.service.RatingServiceTest

✅ createRating_InvalidAuthorization_ShouldThrowAccessDeniedException
✅ calculateAverageStar_ValidProductId_ShouldSuccess
✅ testGetLatestRatings_WhenCountLessThen1_returnEmpty
✅ createRating_ValidRatingData_ShouldSuccess
✅ createRating_ExistedRating_ShouldThrowResourceExistedException
✅ calculateAverageStar_InvalidProductId_ShouldReturnZero
✅ testGetLatestRatings_WhenCountIs0_returnEmpty
✅ testGetLatestRatings_WhenProductsEmpty_returnEmpty
✅ getRatingListWithFilter_ValidFilterData_ShouldReturnSuccess
✅ deleteRating_ValidRatingId_ShouldSuccess
✅ deleteRating_InvalidRatingId_ShouldThrowNotFoundException
✅ getRatingList_ValidProductId_ShouldSuccess
✅ getRatingList_NotExistedProductId_ShouldReturnEmptyList
✅ testGetLatestProducts_WhenHasListProductListVm_returnListProductListVm