Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/1003 payment provider #1243

Merged
merged 9 commits into from
Oct 31, 2024

[Payment] Embedded Payment-Paypal project into Payment project like a…

069f465
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feature/1003 payment provider #1243

[Payment] Embedded Payment-Paypal project into Payment project like a…
069f465
Select commit
Loading
Failed to load commit list.
GitHub Actions / Media-Service-Unit-Test-Results succeeded Oct 31, 2024 in 1s

30 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
media/target/failsafe-reports/TEST-com.yas.media.controller.MediaControllerIT.xml 14✅ 59s
media/target/surefire-reports/TEST-com.yas.media.FileSystemRepositoryTest.xml 4✅ 227ms
media/target/surefire-reports/TEST-com.yas.media.MediaServiceUnitTest.xml 12✅ 2s

✅ media/target/failsafe-reports/TEST-com.yas.media.controller.MediaControllerIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.media.controller.MediaControllerIT 14✅ 59s

✅ com.yas.media.controller.MediaControllerIT

✅ test_deleteMedia_shouldThrows403_ifProvideInvalidAccessToken
✅ test_createMediaFileNameNull_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_createMediaPNG_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_deleteMedia_shouldReturn404_ifProvideValidAccessTokenAndInvalidId
✅ test_createMediaFileNameBlank_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_createMedia_shouldReturn403_ifProvideInvalidAccessToken
✅ test_createMediaFileNameEmpty_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_getMedia_shouldReturnData_ifProvideValidId
✅ test_createMediaGIF_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_getFile_shouldSuccess_ifProvideValidIdAndValidFileName
✅ test_getMedia_shouldThrows404_ifProvideInvalidId
✅ test_createWrongTypeMedia_shouldFail_ifProvideValidAccessTokenAndInvalidData
✅ test_createMediaJPEG_shouldSuccess_ifProvideValidAccessTokenAndValidData
✅ test_deleteMedia_shouldDelete_ifProvideValidAccessTokenAndValidId

✅ media/target/surefire-reports/TEST-com.yas.media.FileSystemRepositoryTest.xml

4 tests were completed in 227ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.media.FileSystemRepositoryTest 4✅ 227ms

✅ com.yas.media.FileSystemRepositoryTest

✅ testPersistFile_whenDirectoryNotExist_thenThrowsException
✅ testGetFile_whenDirectIsExist_thenReturnFile
✅ testPersistFile_filePathNotContainsDirectory
✅ testGetFileDirectoryDoesNotExist_thenThrowsException

✅ media/target/surefire-reports/TEST-com.yas.media.MediaServiceUnitTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.media.MediaServiceUnitTest 12✅ 2s

✅ com.yas.media.MediaServiceUnitTest

✅ getFile_whenMediaNameNotMatch_thenReturnMediaDto
✅ getMedia_whenValidId_thenReturnData
✅ removeMedia_whenMediaNotFound_thenThrowsNotFoundException
✅ removeMedia_whenValidId_thenRemoveSuccess
✅ getMedia_whenMediaNotFound_thenReturnNull
✅ saveMedia_whenTypeGIF_thenSaveSuccess
✅ saveMedia_whenFileNameIsBlank_thenOk
✅ saveMedia_whenFileNameIsEmpty_thenOk
✅ getFile_whenMediaNotFound_thenReturnMediaDto
✅ saveMedia_whenFileNameIsNull_thenOk
✅ saveMedia_whenTypePNG_thenSaveSuccess
✅ saveMedia_whenTypeJPEG_thenSaveSuccess