Fix/yas 1234 #1239
Closed
Fix/yas 1234 #1239
GitHub Actions / Tax-Service-Unit-Test-Results
succeeded
Oct 28, 2024 in 0s
55 passed, 0 failed and 0 skipped
✅ tax/target/failsafe-reports/TEST-com.yas.tax.controller.TaxClassControllerIT.xml
17 tests were completed in 33s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.controller.TaxClassControllerIT | 17✅ | 33s |
✅ com.yas.tax.controller.TaxClassControllerIT
✅ test_updateTaxClass_shouldReturn400_whenGivenAccessTokenAndDuplicateName
✅ test_updateTaxClass_shouldReturn403_whenGivenAccessTokenAndExistedName
✅ test_getTaxClass_shouldReturn401_whenUnauthenticated
✅ test_deleteTaxClass_shouldReturn204_whenGivenAccessTokenAndCorrectId
✅ test_createTaxClass_shouldReturn400_whenGivenAccessTokenAndExistedName
✅ test_updateTaxClass_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_deleteTaxClass_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_getPagedTaxClass_shouldReturn401_whenNotGivenAccessToken
✅ test_deleteTaxClass_shouldReturn403_whenGivenAccessTokenAndExistedName
✅ test_createTaxClass_shouldReturnCreated_whenGivenAccessToken
✅ test_findAllTaxClass_shouldReturn401_whenNotGivenAccessToken
✅ test_findAllTaxClass_shouldReturnData_whenGivenAccessToken
✅ test_getTaxClass_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_createTaxClass_shouldReturn403_whenNotGivenAccessToken
✅ test_getPagedTaxClass_shouldReturnData_whenGivenAccessToken
✅ test_updateTaxClass_shouldReturn204_whenGivenAccessTokenAndCorrectId
✅ test_getTaxClass_shouldReturnData_whenGivenAccessTokenAndCorrectId
✅ tax/target/failsafe-reports/TEST-com.yas.tax.controller.TaxRateControllerIT.xml
29 tests were completed in 29s with 29 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.controller.TaxRateControllerIT | 29✅ | 29s |
✅ com.yas.tax.controller.TaxRateControllerIT
✅ test_deleteTaxRate_shouldReturn401_whenNotGivenAccessToken
✅ test_getPercentTaxRate_shouldReturn401_whenNotGivenAccessToken
✅ test_createTaxClass_shouldReturnCreated_whenGivenAccessTokenAndZipCodeIsNull
✅ test_createTaxClass_shouldReturn400_whenGivenAccessTokenAndMissingData
✅ test_getPercentTaxRate_shouldReturnData_whenGivenAccessToken
✅ test_createTaxRate_shouldReturn403_whenNotGivenAccessToken
✅ test_getBatchTaxRate_shouldReturnEmptyData_whenGivenAccessTokenAndNoTaxClassId
✅ test_getBatchTaxRate_shouldReturn400_whenGivenAccessTokenAndNotCountryId
✅ test_getTaxRate_shouldReturn401_whenNotGivenAccessToken
✅ test_getPagedTaxRate_shouldReturn401_whenNotGivenAccessToken
✅ test_updateTaxClass_shouldReturn400_whenGivenAccessTokenAndTaxClassNotExists
✅ test_updateTaxClass_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_getPagedTaxRate_shouldReturnEmptyData_whenGivenAccessTokenAndDBIsEmpty
✅ test_getPercentTaxRate_shouldReturnData_whenGivenAccessTokenAndNoTaxClassId
✅ test_createTaxClass_shouldReturnCreated_whenGivenAccessToken
✅ test_updateTaxRate_shouldReturn403_whenNotGivenAccessToken
✅ test_getTaxRate_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_updateTaxClass_shouldReturnNoContent_whenUpdateSuccessfully
✅ test_getPercentTaxRate_shouldReturn400_whenGivenAccessTokenAndNotCountryId
✅ test_getPercentTaxRate_shouldReturnData0_whenGivenAccessTokenAndDataNotExist
✅ test_deleteTaxRate_shouldReturn204_whenGivenAccessToken
✅ test_getBatchTaxRate_shouldReturnData_whenGivenAccessToken
✅ test_createTaxClass_shouldReturn400_whenGivenAccessTokenAndTaxClassNotExists
✅ test_updateTaxClass_shouldReturn400_whenGivenAccessTokenAndMissingData
✅ test_getTaxRate_shouldReturnData_whenGivenAccessToken
✅ test_deleteTaxRate_shouldReturn404_whenGivenAccessTokenAndWrongId
✅ test_getBatchTaxRate_shouldReturn401_whenNotGivenAccessToken
✅ test_getPagedTaxRate_shouldReturnData_whenGivenAccessToken
✅ test_createTaxClass_shouldReturnCreated_whenGivenAccessTokenAndProvinceIdIsNull
✅ tax/target/failsafe-reports/TEST-com.yas.tax.repository.TaxClassRepositoryIT.xml
4 tests were completed in 49s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.repository.TaxClassRepositoryIT | 4✅ | 49s |
✅ com.yas.tax.repository.TaxClassRepositoryIT
✅ test_existByName_shouldReturnTrue_whenTaxClassNameExists
✅ test_existByName_shouldReturnFalse_whenTaxClassNameNotExists
✅ test_existsByNameNotUpdatingTaxClass_shouldReturnTrue_whenThereIsAClassWithSameNameAndDiffID
✅ test_existsByNameNotUpdatingTaxClass_shouldReturnFalse_whenThereIsNoClassWithSameName
✅ tax/target/failsafe-reports/TEST-com.yas.tax.repository.TaxRateRepositoryIT.xml
3 tests were completed in 392ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.repository.TaxRateRepositoryIT | 3✅ | 392ms |
✅ com.yas.tax.repository.TaxRateRepositoryIT
✅ testGetTaxPercent_shouldReturnCorrectTaxRate_whenGivenCorrectParams
✅ testGetBatchTaxPercent_shouldReturnListOfRates_whenGivenCorrectParams
✅ testGetTaxPercent_shouldReturnNull_whenGivenWrongParams
✅ tax/target/failsafe-reports/TEST-com.yas.tax.service.LocationServiceIT.xml
1 tests were completed in 8s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.service.LocationServiceIT | 1✅ | 8s |
✅ com.yas.tax.service.LocationServiceIT
✅ test_getStateOrProvinceAndCountryNames_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen
✅ tax/target/surefire-reports/TEST-com.yas.tax.service.TaxServiceTest.xml
1 tests were completed in 5s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.yas.tax.service.TaxServiceTest | 1✅ | 5s |
✅ com.yas.tax.service.TaxServiceTest
✅ testFindAll_shouldReturnAllTaxRate
Loading