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

#882 create a shared project #1020

Merged
merged 7 commits into from
Sep 19, 2024

#882 Create a shared project

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

#882 create a shared project #1020

#882 Create a shared project
bac0a79
Select commit
Loading
Failed to load commit list.
GitHub Actions / Customer-Service-Unit-Test-Results succeeded Sep 19, 2024 in 1s

45 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
customer/target/failsafe-reports/TEST-com.yas.customer.service.LocationServiceIT.xml 3✅ 25s
customer/target/failsafe-reports/TEST-com.yas.customer.service.UserAddressServiceIT.xml 11✅ 35s
customer/target/surefire-reports/TEST-com.yas.customer.controller.CustomerControllerTest.xml 5✅ 5s
customer/target/surefire-reports/TEST-com.yas.customer.controller.UserAddressControllerTest.xml 5✅ 955ms
customer/target/surefire-reports/TEST-com.yas.customer.listener.CustomAuditingEntityListenerTest.xml 4✅ 2s
customer/target/surefire-reports/TEST-com.yas.customer.service.CustomerServiceTest.xml 12✅ 798ms
customer/target/surefire-reports/TEST-com.yas.customer.service.LocationServiceTest.xml 3✅ 409ms
customer/target/surefire-reports/TEST-com.yas.customer.utils.MessagesUtilsTest.xml 2✅ 30ms

✅ customer/target/failsafe-reports/TEST-com.yas.customer.service.LocationServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.customer.service.LocationServiceIT 3✅ 25s

✅ com.yas.customer.service.LocationServiceIT

✅ test_createAddress_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ test_getAddressesByIdList_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ test_getAddressById_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ customer/target/failsafe-reports/TEST-com.yas.customer.service.UserAddressServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.customer.service.UserAddressServiceIT 11✅ 35s

✅ com.yas.customer.service.UserAddressServiceIT

✅ testDeleteAddress_whenNormalCase_deleteSuccess
✅ testChooseDefaultAddress_whenNormalCase_chooseDefaultAddressSuccess
✅ testGetUserAddressList_whenUserIsNotAuthenticated_throwAccessDeniedException
✅ testGetAddressDefault_whenAddressDetailVmNotEmpty_returnActiveAddressVm
✅ testGetAddressDefault_whenUserIsNotAuthenticated_throwAccessDeniedException
✅ testGetAddressDefault_whenNotFoundUserAddress_throwNotFoundException
✅ testGetUserAddressList_whenUserAddressReturnEmpty_returnListIsEmpty
✅ testDeleteAddress_whenUserAddressIsNull_throwNotFoundException
✅ testGetUserAddressList_whenAddressDetailVmNotEmpty_returnActiveAddressVms
✅ testCreateAddress_whenNormalCase_createAddressSuccess
✅ testGetUserAddressList_whenAddressDetailVmReturnEmpty_returnListIsEmpty

✅ customer/target/surefire-reports/TEST-com.yas.customer.controller.CustomerControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.customer.controller.CustomerControllerTest 5✅ 5s

✅ com.yas.customer.controller.CustomerControllerTest

✅ testCreateGuestUser_whenNormalCase_responseGuestUserVm
✅ testGetCustomers_whenNormalCase_responseCustomerListVm
✅ testGetCustomerByEmail_whenNormalCase_responseCustomerAdminVm
✅ testUpdateProfile_whenNormalCase_methodSuccess
✅ testGetCustomerProfile_whenNormalCase_responseCustomerVm

✅ customer/target/surefire-reports/TEST-com.yas.customer.controller.UserAddressControllerTest.xml

5 tests were completed in 955ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.customer.controller.UserAddressControllerTest 5✅ 955ms

✅ com.yas.customer.controller.UserAddressControllerTest

✅ testChooseDefaultAddress_whenNormalCase_responseOk
✅ testGetUserAddresses_whenNormalCase_responseActiveAddressVms
✅ testCreateAddress_whenNormalCase_responseUserAddressVm
✅ testGetDefaultAddress_whenNormalCase_responseAddressDetailVm
✅ testDeleteAddress_whenNormalCase_responseOk

✅ customer/target/surefire-reports/TEST-com.yas.customer.listener.CustomAuditingEntityListenerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.customer.listener.CustomAuditingEntityListenerTest 4✅ 2s

✅ com.yas.customer.listener.CustomAuditingEntityListenerTest

✅ testTouchForUpdate_henLastModifiedByIsNull_markModified
✅ testTouchForUpdate_whenLastModifiedByIsNotNull_markModified
✅ testTouchForCreate_whenCreatedByIsNull_createSuccess
✅ testTouchForCreate_whenCreatedByIsNotNull_setLastModifiedBy

✅ customer/target/surefire-reports/TEST-com.yas.customer.service.CustomerServiceTest.xml

12 tests were completed in 798ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.customer.service.CustomerServiceTest 12✅ 798ms

✅ com.yas.customer.service.CustomerServiceTest

✅ testGetCustomers_isUserRepresentationEmpty_returnCustomerListVm
✅ testGetCustomerByEmail_isInValidEmail_throwWrongEmailFormatException
✅ testGetCustomerByEmail_isAbnormalCase_throwForbiddenException
✅ testUpdateCustomers_isUserNotFound_ThrowNotFoundException
✅ testGetCustomerByEmail_searchResultIsEmpty_throwNotFoundException
✅ testGetCustomerProfile_isAbnormalCase_throwForbiddenException
✅ testGetCustomerByEmail_isNormalCase_returnCustomerAdminVm
✅ testUpdateCustomers_isNormalCase_methodSuccess
✅ testGetCustomerProfile_isNormalCase_ReturnCustomerVm
✅ testCreateGuestUser_isNormalCase_returnGuestUserVm
✅ testGetCustomers_hasError_throwForbiddenException
✅ testGetCustomers_existsUserRepresentation_returnCustomerListVm

✅ customer/target/surefire-reports/TEST-com.yas.customer.service.LocationServiceTest.xml

3 tests were completed in 409ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.customer.service.LocationServiceTest 3✅ 409ms

✅ com.yas.customer.service.LocationServiceTest

✅ testCreateAddress
✅ testGetAddressesByIdList
✅ testGetAddressById

✅ customer/target/surefire-reports/TEST-com.yas.customer.utils.MessagesUtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.customer.utils.MessagesUtilsTest 2✅ 30ms

✅ com.yas.customer.utils.MessagesUtilsTest

✅ testGetMessageWithValidCode
✅ testGetMessageWithInvalidCode