Skip to content

#1022 - Apply Automation test for Yas project #334

#1022 - Apply Automation test for Yas project

#1022 - Apply Automation test for Yas project #334

GitHub Actions / Payment-Paypal-Unit-Test-Results succeeded Sep 17, 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✅ 299ms
payment-paypal/target/surefire-reports/TEST-com.yas.paymentpaypal.service.PaypalServiceTest.xml 6✅ 187ms
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✅ 16ms

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

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

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

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

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

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

✅ com.yas.paymentpaypal.utils.MessagesUtilsTest

✅ testGetMessage_existingCode
✅ testGetMessage_nonExistingCode