Skip to content

#882 create a shared project #335

#882 create a shared project

#882 create a shared project #335

GitHub Actions / Customer-Service-Unit-Test-Results succeeded Sep 18, 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✅ 27s
customer/target/failsafe-reports/TEST-com.yas.customer.service.UserAddressServiceIT.xml 11✅ 37s
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✅ 936ms
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✅ 862ms
customer/target/surefire-reports/TEST-com.yas.customer.service.LocationServiceTest.xml 3✅ 431ms
customer/target/surefire-reports/TEST-com.yas.customer.utils.MessagesUtilsTest.xml 2✅ 73ms

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

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

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

✅ 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 37s with 11 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

✅ com.yas.customer.service.LocationServiceTest

✅ testCreateAddress
✅ testGetAddressesByIdList
✅ testGetAddressById

✅ customer/target/surefire-reports/TEST-com.yas.customer.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.customer.utils.MessagesUtilsTest 2✅ 73ms

✅ com.yas.customer.utils.MessagesUtilsTest

✅ testGetMessageWithValidCode
✅ testGetMessageWithInvalidCode