Skip to content

Automation test flows #353

Automation test flows

Automation test flows #353

GitHub Actions / Payment-Paypal-Unit-Test-Results succeeded Sep 24, 2024 in 0s

14 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.controller.PaypalControllerTest.xml 3✅ 6s
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.service.PaymentServiceTest.xml 1✅ 308ms
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.service.PaypalServiceTest.xml 6✅ 190ms
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.utils.AuthenticationUtilsTest.xml 2✅ 2s
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.utils.MessagesUtilsTest.xml 2✅ 73ms

✅ payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.controller.PaypalControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.paymentpaypal.controller.PaypalControllerTest 3✅ 6s

✅ com.yas.paymentpaypal.controller.PaypalControllerTest

✅ testCancelPayment_whenNormalCase_responseString
✅ testCreatePayment_whenNormalCase_responsePaypalRequestPayment
✅ testCapturePayment_whenNormalCase_responseCapturedPaymentVm

✅ payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.service.PaymentServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.paymentpaypal.service.PaymentServiceTest 1✅ 308ms

✅ com.yas.paymentpaypal.service.PaymentServiceTest

✅ testCapturePayment_ifNormalCase_returnAddressDetailVm

✅ payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.service.PaypalServiceTest.xml

6 tests were completed in 190ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.paymentpaypal.service.PaypalServiceTest 6✅ 190ms

✅ com.yas.paymentpaypal.service.PaypalServiceTest

✅ testCapturePayment_whenStatusIsNull_returnCapturedPaymentVm
✅ testCreatePayment_whenSuccess_returnPaypalRequestPayment
✅ testCreatePayment_whenIoException_returnPaypalRequestPayment
✅ testCapturePayment_whenIoException_returnCapturedPaymentVm
✅ testCreatePayment_whenLinksIsEmpty_throwNoSuchElementException
✅ testCapturePayment_whenStatusNotNull_returnCapturedPaymentVm

✅ payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.utils.AuthenticationUtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.paymentpaypal.utils.AuthenticationUtilsTest 2✅ 2s

✅ com.yas.paymentpaypal.utils.AuthenticationUtilsTest

✅ testGetCurrentUserId_whenExistsSubject_returnCurrentUserId
✅ testGetCurrentUserId_withAnonymousAuthentication_throwSignInRequiredException

✅ payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.utils.MessagesUtilsTest.xml

2 tests were completed in 73ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.paymentpaypal.utils.MessagesUtilsTest 2✅ 73ms

✅ com.yas.paymentpaypal.utils.MessagesUtilsTest

✅ testGetMessage_existingCode
✅ testGetMessage_nonExistingCode