Update payment methods to Checkout Object (#1242) #738
49 passed, 0 failed and 0 skipped
✅ order/target/failsafe-reports/TEST-com.yas.order.service.CustomerServiceIT.xml
1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.CustomerServiceIT | 1✅ | 4s |
✅ com.yas.order.service.CustomerServiceIT
✅ test_getCustomer_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ order/target/failsafe-reports/TEST-com.yas.order.service.OrderServiceIT.xml
18 tests were completed in 53s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.OrderServiceIT | 18✅ | 53s |
✅ com.yas.order.service.OrderServiceIT
✅ testGetOrderWithItemsById_whenNotFound_throwNotFoundException
✅ testGetLatestOrders_WhenCountIs0_returnEmpty
✅ testFindOrderByCheckoutId_whenNotFound_throwNotFoundException
✅ testRejectOrder_whenNormalCase_saveOrder
✅ testGetOrderWithItemsById_whenNormalCase_returnOrderVm
✅ testGetLatestOrders_WhenCountLessThen1_returnEmpty
✅ testGetLatestOrders_WhenHasListOrderListVm_returnListOrderListVm
✅ 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
✅ testGetLatestOrders_WhenProductsEmpty_returnEmpty
✅ order/target/failsafe-reports/TEST-com.yas.order.service.ProductServiceIT.xml
No tests found
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.ProductServiceIT | 5s |
✅ order/target/failsafe-reports/TEST-com.yas.order.service.ProductServiceIT$CircuitFallbackTest.xml
1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.ProductServiceIT$CircuitFallbackTest | 1✅ | 3s |
✅ com.yas.order.service.ProductServiceIT$CircuitFallbackTest
✅ 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
4 tests were completed in 932ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.controller.CheckoutControllerTest | 4✅ | 932ms |
✅ com.yas.order.controller.CheckoutControllerTest
✅ testGetOrderWithItemsById_whenRequestIsValid_thenReturnCheckoutVm
✅ testUpdatePaymentMethod_whenRequestIsValid_thenReturnNoContent
✅ testUpdateCheckoutStatus_whenRequestIsValid_thenReturnLong
✅ testCreateCheckout_whenRequestIsValid_thenReturnCheckoutVm
✅ order/target/surefire-reports/TEST-com.yas.order.controller.OrderControllerTest.xml
8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.controller.OrderControllerTest | 8✅ | 3s |
✅ com.yas.order.controller.OrderControllerTest
✅ testExportCsv_whenRequestIsValid_thenReturnCsvFile
✅ testUpdateOrderPaymentStatus_whenRequestIsValid_thenReturnPaymentOrderStatusVm
✅ testGetOrders_whenRequestIsValid_thenReturnOrderListVm
✅ testCreateOrder_whenRequestIsValid_thenReturnOrderVm
✅ testGetOrderWithItemsById_whenRequestIsValid_thenReturnOrderVm
✅ testCheckOrder_whenRequestIsValid_thenReturnOrderExistsByProductAndUserGetVm
✅ testGetLatestOrders_whenRequestIsValid_thenReturnOrderListVm
✅ testGetMyOrders_whenRequestIsValid_thenReturnOrderGetVm
✅ order/target/surefire-reports/TEST-com.yas.order.mapper.CheckoutMapperTest.xml
4 tests were completed in 106ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.mapper.CheckoutMapperTest | 4✅ | 106ms |
✅ 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 140ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.CartServiceTest | 1✅ | 140ms |
✅ com.yas.order.service.CartServiceTest
✅ testDeleteCartItems_ifNormalCase_shouldNoException
✅ order/target/surefire-reports/TEST-com.yas.order.service.CheckoutServiceTest.xml
8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.CheckoutServiceTest | 8✅ | 3s |
✅ com.yas.order.service.CheckoutServiceTest
✅ testUpdateCheckoutPaymentMethod_whenPaymentMethodIdIsNull_thenDoNotUpdate
✅ testGetCheckoutPendingStateWithItemsById_whenNormalCase_returnCheckoutVm
✅ testGetCheckoutPendingStateWithItemsById_whenNotEqualsCreateBy_throwForbidden
✅ testCreateCheckout_whenNormalCase_returnCheckout
✅ testGetCheckoutPendingStateWithItemsById_whenNormalCase_returnCheckoutVmWithoutCheckoutItems
✅ testUpdateCheckoutPaymentMethod_whenCheckoutNotFound_thenThrowNotFoundException
✅ testUpdateCheckoutPaymentMethod_whenCheckoutExists_thenUpdatePaymentMethod
✅ testCreateCheckout_whenCheckoutItemsIsEmpty_returnCheckoutWithoutCheckoutItems
✅ order/target/surefire-reports/TEST-com.yas.order.service.CustomerServiceTest.xml
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.CustomerServiceTest | 1✅ | 2s |
✅ com.yas.order.service.CustomerServiceTest
✅ testGetCustomer_ifNormalCase_returnCustomerVm
✅ order/target/surefire-reports/TEST-com.yas.order.service.TaxServiceTest.xml
1 tests were completed in 45ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.service.TaxServiceTest | 1✅ | 45ms |
✅ com.yas.order.service.TaxServiceTest
✅ testGetTaxPercentByAddress_ifNormalCase_returnCustomerVm
✅ order/target/surefire-reports/TEST-com.yas.order.utils.AuthenticationUtilsTest.xml
1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.order.utils.AuthenticationUtilsTest | 1✅ | 5ms |
✅ com.yas.order.utils.AuthenticationUtilsTest
✅ testGetCurrentUserId_existsCurrentUserId_returnCurrentUserId