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

Fix/yas 1234 #1239

Closed
wants to merge 2 commits into from

fix keycloak incompatible versions

fabf9cb
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Fix/yas 1234 #1239

fix keycloak incompatible versions
fabf9cb
Select commit
Loading
Failed to load commit list.
GitHub Actions / Location-Service-Unit-Test-Results succeeded Oct 28, 2024 in 0s

81 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
location/target/failsafe-reports/TEST-com.yas.location.AddressControllerIT.xml 5✅ 440ms
location/target/failsafe-reports/TEST-com.yas.location.CountryControllerIT.xml 8✅ 784ms
location/target/failsafe-reports/TEST-com.yas.location.DistrictControllerIT.xml 3✅ 200ms
location/target/failsafe-reports/TEST-com.yas.location.StateOrProvinceControllerIT.xml 10✅ 55s
location/target/surefire-reports/TEST-com.yas.location.controller.AddressControllerTest.xml 6✅ 2s
location/target/surefire-reports/TEST-com.yas.location.controller.CountryControllerTest.xml 6✅ 658ms
location/target/surefire-reports/TEST-com.yas.location.controller.StateOrProvinceControllerTest.xml 6✅ 902ms
location/target/surefire-reports/TEST-com.yas.location.service.AddressServiceTest.xml 9✅ 291ms
location/target/surefire-reports/TEST-com.yas.location.service.CountryServiceTest.xml 13✅ 13s
location/target/surefire-reports/TEST-com.yas.location.service.DistrictServiceTest.xml 1✅ 75ms
location/target/surefire-reports/TEST-com.yas.location.service.StateOrProvinceServiceTest.xml 14✅ 253ms

✅ location/target/failsafe-reports/TEST-com.yas.location.AddressControllerIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.location.AddressControllerIT 5✅ 440ms

✅ com.yas.location.AddressControllerIT

✅ test_getAddress_shouldReturnData_ifProvideValidId
✅ test_getAllAddresses_shouldReturnData
✅ test_deleteAddress_shouldOk_ifProvideValidAccessTokenAndValidId
✅ test_deleteAddress_shouldReturn404_ifProvideAccessTokenAndInvalidId
✅ test_deleteAddress_shouldReturn403_ifProvideInvalidAccessToken

✅ location/target/failsafe-reports/TEST-com.yas.location.CountryControllerIT.xml

8 tests were completed in 784ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.CountryControllerIT 8✅ 784ms

✅ com.yas.location.CountryControllerIT

✅ test_getCountries_shouldReturnData
✅ test_getCountry_shouldReturn404_ifProvideValidAccessTokenButCountryNotFound
✅ test_deleteCountry_shouldDelete_ifProvideValidAccessTokenAndValidId
✅ test_getPaginateCountry_shouldReturnData_IfProvideValidAccessToken
✅ test_deleteCountry_shouldReturn403_ifProvideInvalidAccessToken
✅ test_getAllCountries_shouldReturnData_ifProvideValidAccessToken
✅ test_deleteCountry_shouldReturn404_ifProvideValidAccessTokenAndInvalidId
✅ test_getCountry_shouldReturnData_ifProvideValidAccessTokenAndValidId

✅ location/target/failsafe-reports/TEST-com.yas.location.DistrictControllerIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.location.DistrictControllerIT 3✅ 200ms

✅ com.yas.location.DistrictControllerIT

✅ test_getDistrict_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getDistrict_shouldReturnData_ifProvideValidAccessTokenAndValidStateId
✅ test_getDistrict_shouldReturnData_ifProvideValidStateProvinceId

✅ location/target/failsafe-reports/TEST-com.yas.location.StateOrProvinceControllerIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.location.StateOrProvinceControllerIT 10✅ 55s

✅ com.yas.location.StateOrProvinceControllerIT

✅ test_getStateWithCountryName_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getStateWithCountryName_shouldReturnData_ifProvideValidAccessAndValidId
✅ test_deleteState_shouldReturn403_ifProvideInvalidAccessToken
✅ test_getAllByCountryId_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ test_getAllPagination_shouldReturnData_ifProvideValidAccessTokenAndValidId
✅ test_deleteState_shouldDelete_ifProvideValidAccessAndValidId
✅ test_getState_shouldReturnData_ifProvideValidId
✅ test_getState_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getAllCountryId_shouldReturn401_ifProvideInvalidAccessToken
✅ test_getState_shouldReturnData_ifProvideValidAccessTokenAndValidId

✅ location/target/surefire-reports/TEST-com.yas.location.controller.AddressControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.location.controller.AddressControllerTest 6✅ 2s

✅ com.yas.location.controller.AddressControllerTest

✅ testUpdateAddress_whenRequestIsValid_thenReturnOk
✅ testCreateAddress_whenDistrictIsNull_thenReturnBadRequest
✅ testUpdateAddress_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testUpdateAddress_whenDistrictIsNull_thenReturnBadRequest
✅ testCreateAddress_whenPhoneIsOverMaxLength_thenReturnBadRequest
✅ testCreateAddress_whenRequestIsValid_thenReturnOk

✅ location/target/surefire-reports/TEST-com.yas.location.controller.CountryControllerTest.xml

6 tests were completed in 658ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.controller.CountryControllerTest 6✅ 658ms

✅ com.yas.location.controller.CountryControllerTest

✅ testUpdateCountry_whenRequestIsValid_thenReturnOk
✅ testCreateCountry_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testCreateCountry_whenIdIsBlank_thenReturnBadRequest
✅ testCreateCountry_whenRequestIsValid_thenReturnOk
✅ testUpdateCountry_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testUpdateCountry_whenIdIsBlank_thenReturnBadRequest

✅ location/target/surefire-reports/TEST-com.yas.location.controller.StateOrProvinceControllerTest.xml

6 tests were completed in 902ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.controller.StateOrProvinceControllerTest 6✅ 902ms

✅ com.yas.location.controller.StateOrProvinceControllerTest

✅ testCreateStateOrProvince_whenNameIsBlank_thenReturnBadRequest
✅ testCreateStateOrProvince_whenRequestIsValid_thenReturnOk
✅ testCreateStateOrProvince_whenCodeIsOverMaxLength_thenReturnBadRequest
✅ testUpdateStateOrProvince_whenRequestIsValid_thenReturnOk
✅ testUpdateStateOrProvince_whenNameIsBlank_thenReturnBadRequest
✅ testUpdateStateOrProvince_whenCodeIsOverMaxLength_thenReturnBadRequest

✅ location/target/surefire-reports/TEST-com.yas.location.service.AddressServiceTest.xml

9 tests were completed in 291ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.service.AddressServiceTest 9✅ 291ms

✅ com.yas.location.service.AddressServiceTest

✅ createAddress_inValidData_ThrowsCountryNotFoundException
✅ updateAddress_inValidAddressId_ThrowsAddressNotFoundException
✅ deleteAddress_givenAddressIdValid_thenSuccess
✅ getAddress_NotExistInDatabase_ThrowsNotFoundException
✅ getAddress_ExistInDatabase_Success
✅ getAllAddresses_Success
✅ updateAddress_validData_Success
✅ createAddress_validDate_Success
✅ deleteAddress_givenAddressIdInValid_ThrowsAddressNotFoundException

✅ location/target/surefire-reports/TEST-com.yas.location.service.CountryServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.location.service.CountryServiceTest 13✅ 13s

✅ com.yas.location.service.CountryServiceTest

✅ updateCountry_ValidData_Success
✅ getCountry_ExistInDatabase_Success
✅ createCountry_WithCodeExisted_ThrowsCodeAlreadyExistedException
✅ createCountry_WithNameExisted_ThrowsNameAlreadyExistedException
✅ updateCountry_WithIdNotValid_ThrowsCountryNotFoundException
✅ updateCountry_WithCodeExisted_ThrowsCodeAlreadyExistedException
✅ deleteCountry_WithValidId_Success
✅ updateCountry_WithNameExisted_ThrowsNameAlreadyExistedException
✅ deleteCountry_WithInValidId_ThrowsCountryNotFoundException
✅ getAllCountries_Success
✅ getCountry_NotInDatabase_ThrowsCountryNotFoundException
✅ createCountry_ValidData_Success
✅ getCountries_Pagination_Success

✅ location/target/surefire-reports/TEST-com.yas.location.service.DistrictServiceTest.xml

1 tests were completed in 75ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.service.DistrictServiceTest 1✅ 75ms

✅ com.yas.location.service.DistrictServiceTest

✅ getDistrict_WithValidId_Success

✅ location/target/surefire-reports/TEST-com.yas.location.service.StateOrProvinceServiceTest.xml

14 tests were completed in 253ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.location.service.StateOrProvinceServiceTest 14✅ 253ms

✅ com.yas.location.service.StateOrProvinceServiceTest

✅ updateStateOrProvince_WithNameExisted_ThrowsNameAlreadyExistedException
✅ getStateOrProvinceAndCountryName_Success
✅ deleteStateOrProvince_WithExisted_Success
✅ getAllStateOrProvinceByCountryId_Success
✅ createStateOrProvince_ValidData_Success
✅ getStateOrProvincePagination_Success
✅ updateStateOrProvince_WithInValidId_ThrowsStateOrProvinceNotFound
✅ getStateOrProvince_WithInValidId_ThrowsStateOrProvinceNotFoundException
✅ createStateOrProvince_WithNameExisted_ThrowsNameAlreadyExistException
✅ getStateOrProvince_WithValidId_Success
✅ getAllStateOrProvinces_Success
✅ updateStateOrProvince_WithValidData_Success
✅ createStateOrProvince_WithCountryNotExist_ThrowsCountryNotFoundException
✅ deleteStateOrProvince_WithInvalidId_ThrowsStateOrProvinceNotFoundException