Skip to content

#882 create a shared project #335

#882 create a shared project

#882 create a shared project #335

GitHub Actions / Payment-Paypal-Unit-Test-Results succeeded Sep 18, 2024 in 1s

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✅ 5s
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✅ 172ms
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✅ 8ms

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

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

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

✅ 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 172ms with 6 passed, 0 failed and 0 skipped.

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

✅ 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 8ms with 2 passed, 0 failed and 0 skipped.

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

✅ com.yas.paymentpaypal.utils.MessagesUtilsTest

✅ testGetMessage_existingCode
✅ testGetMessage_nonExistingCode