Skip to content

#882 create a shared project #342

#882 create a shared project

#882 create a shared project #342

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