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

#882 create a shared project #1020

Merged
merged 7 commits into from
Sep 19, 2024

#882 Create a shared project

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

#882 create a shared project #1020

#882 Create a shared project
bac0a79
Select commit
Loading
Failed to load commit list.
GitHub Actions / Order-Service-Unit-Test-Results succeeded Sep 19, 2024 in 1s

35 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
order/target/failsafe-reports/TEST-com.yas.order.service.CustomerServiceIT.xml 1✅ 5s
order/target/failsafe-reports/TEST-com.yas.order.service.OrderServiceIT.xml 14✅ 34s
order/target/failsafe-reports/TEST-com.yas.order.service.ProductServiceIT.xml 1✅ 30s
order/target/failsafe-reports/TEST-com.yas.order.service.TaxServiceIT.xml 1✅ 6s
order/target/surefire-reports/TEST-com.yas.order.controller.CheckoutControllerTest.xml 3✅ 4s
order/target/surefire-reports/TEST-com.yas.order.controller.OrderControllerTest.xml 6✅ 1s
order/target/surefire-reports/TEST-com.yas.order.mapper.CheckoutMapperTest.xml 4✅ 4s
order/target/surefire-reports/TEST-com.yas.order.service.CartServiceTest.xml 1✅ 7ms
order/target/surefire-reports/TEST-com.yas.order.service.CheckoutServiceTest.xml 1✅ 224ms
order/target/surefire-reports/TEST-com.yas.order.service.CustomerServiceTest.xml 1✅ 12ms
order/target/surefire-reports/TEST-com.yas.order.service.TaxServiceTest.xml 1✅ 285ms
order/target/surefire-reports/TEST-com.yas.order.utils.AuthenticationUtilsTest.xml 1✅ 706ms

✅ order/target/failsafe-reports/TEST-com.yas.order.service.CustomerServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.CustomerServiceIT 1✅ 5s

✅ com.yas.order.service.CustomerServiceIT

✅ test_getCustomer_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ order/target/failsafe-reports/TEST-com.yas.order.service.OrderServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.OrderServiceIT 14✅ 34s

✅ com.yas.order.service.OrderServiceIT

✅ testGetOrderWithItemsById_whenNotFound_throwNotFoundException
✅ testFindOrderByCheckoutId_whenNotFound_throwNotFoundException
✅ testRejectOrder_whenNormalCase_saveOrder
✅ testGetOrderWithItemsById_whenNormalCase_returnOrderVm
✅ testUpdateOrderPaymentStatus_whenPaymentStatusNotCompleted_returnPaymentOrderStatusVm
✅ testUpdateOrderPaymentStatus_whenNotFound_throwNotFoundException
✅ testGetAllOrder_whenOrderPageIsEmpty_returnOrderListVm
✅ testGetAllOrder_whenNormalCase_returnOrderListVm
✅ testRejectOrder_whenNotFound_throwNotFoundException
✅ testFindOrderByCheckoutId_whenNormalCase_returnOrder
✅ testAcceptOrder_whenNotFound_throwNotFoundException
✅ testCreateOrder_successful
✅ testUpdateOrderPaymentStatus_whenNormalCase_returnPaymentOrderStatusVm
✅ testAcceptOrder_whenNormalCase_saveOrder

✅ order/target/failsafe-reports/TEST-com.yas.order.service.ProductServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.ProductServiceIT 1✅ 30s

✅ com.yas.order.service.ProductServiceIT

✅ test_getProductVariations_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ order/target/failsafe-reports/TEST-com.yas.order.service.TaxServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.TaxServiceIT 1✅ 6s

✅ com.yas.order.service.TaxServiceIT

✅ test_getTaxPercentByAddress_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ order/target/surefire-reports/TEST-com.yas.order.controller.CheckoutControllerTest.xml

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.order.controller.CheckoutControllerTest 3✅ 4s

✅ com.yas.order.controller.CheckoutControllerTest

✅ testGetOrderWithItemsById_whenRequestIsValid_thenReturnCheckoutVm
✅ testUpdateCheckoutStatus_whenRequestIsValid_thenReturnLong
✅ testCreateCheckout_whenRequestIsValid_thenReturnCheckoutVm

✅ order/target/surefire-reports/TEST-com.yas.order.controller.OrderControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.controller.OrderControllerTest 6✅ 1s

✅ com.yas.order.controller.OrderControllerTest

✅ testUpdateOrderPaymentStatus_whenRequestIsValid_thenReturnPaymentOrderStatusVm
✅ testGetOrders_whenRequestIsValid_thenReturnOrderListVm
✅ testCreateOrder_whenRequestIsValid_thenReturnOrderVm
✅ testGetOrderWithItemsById_whenRequestIsValid_thenReturnOrderVm
✅ testCheckOrder_whenRequestIsValid_thenReturnOrderExistsByProductAndUserGetVm
✅ testGetMyOrders_whenRequestIsValid_thenReturnOrderGetVm

✅ order/target/surefire-reports/TEST-com.yas.order.mapper.CheckoutMapperTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.mapper.CheckoutMapperTest 4✅ 4s

✅ com.yas.order.mapper.CheckoutMapperTest

✅ testCheckoutItemToVm_convertCheckoutItemCorrectly
✅ testCheckoutItemPostVmToModel_convertToCorrectCheckoutItem
✅ testCheckoutPostVmToModel_convertToCorrectCheckout
✅ testCheckoutToVm_convertToCheckoutVmCorrectly

✅ order/target/surefire-reports/TEST-com.yas.order.service.CartServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.CartServiceTest 1✅ 7ms

✅ com.yas.order.service.CartServiceTest

✅ testDeleteCartItem_ifNormalCase_shouldNoException

✅ order/target/surefire-reports/TEST-com.yas.order.service.CheckoutServiceTest.xml

1 tests were completed in 224ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.order.service.CheckoutServiceTest 1✅ 224ms

✅ com.yas.order.service.CheckoutServiceTest

✅ createCheckout

✅ order/target/surefire-reports/TEST-com.yas.order.service.CustomerServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.order.service.CustomerServiceTest 1✅ 12ms

✅ com.yas.order.service.CustomerServiceTest

✅ testGetCustomer_ifNormalCase_returnCustomerVm

✅ order/target/surefire-reports/TEST-com.yas.order.service.TaxServiceTest.xml

1 tests were completed in 285ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.order.service.TaxServiceTest 1✅ 285ms

✅ com.yas.order.service.TaxServiceTest

✅ testGetTaxPercentByAddress_ifNormalCase_returnCustomerVm

✅ order/target/surefire-reports/TEST-com.yas.order.utils.AuthenticationUtilsTest.xml

1 tests were completed in 706ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.order.utils.AuthenticationUtilsTest 1✅ 706ms

✅ com.yas.order.utils.AuthenticationUtilsTest

✅ testGetCurrentUserId_existsCurrentUserId_returnCurrentUserId