Skip to content

#1064 [BACKOFFICE] [Bugs] Product Variations - delete variant #1039

#1064 [BACKOFFICE] [Bugs] Product Variations - delete variant

#1064 [BACKOFFICE] [Bugs] Product Variations - delete variant #1039

Triggered via pull request September 24, 2024 12:50
Status Failure
Total duration 1m 28s
Artifacts

product-ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
com.yas.product.service.ProductServiceTest ► getFeaturedProducts_WhenEverythingIsOkay_Success: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L166
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException:
com.yas.product.service.ProductServiceTest ► getProductsFromCategory_WhenFindAllByCategory_ThenSuccess: product/src/main/java/com/yas/product/service/ProductService.java#L688
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.springframework.dao.IncorrectResultSizeDataAccessException: Query did not return a unique result: 3 results were returned
com.yas.product.service.ProductServiceTest ► getListFeaturedProductsByListProductIds_whenAllProductIdsValid_shouldSuccess: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L227
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.opentest4j.AssertionFailedError: expected: <10> but was: <60>
com.yas.product.service.ProductServiceTest ► getProductsByMultiQuery_WhenFilterByBrandNameAndProductName_ThenSuccess: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L345
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.opentest4j.AssertionFailedError: expected: <1> but was: <5>
com.yas.product.service.ProductServiceTest ► getProductsByBrand_BrandIsNonExist_ThrowsNotFoundException: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L203
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <com.yas.commonlibrary.exception.NotFoundException> but was: <org.springframework.dao.IncorrectResultSizeDataAccessException>
com.yas.product.service.ProductServiceTest ► getProductsWithFilter_WhenFilterByBrandNameAndProductName_ThenSuccess: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L235
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.opentest4j.AssertionFailedError: expected: <1> but was: <5>
com.yas.product.service.ProductServiceTest ► deleteProduct_givenVariant_thenSuccess: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L309
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.springframework.dao.InvalidDataAccessResourceUsageException:
com.yas.product.service.ProductServiceTest ► getProductsWithFilter_WhenFilterByProductName_ThenSuccess: product/src/test/java/com/yas/product/service/ProductServiceTest.java#L249
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.opentest4j.AssertionFailedError: expected: <1> but was: <5>
com.yas.product.service.ProductServiceTest ► getProductsByBrand_BrandSlugIsValid_Success: product/src/main/java/com/yas/product/service/ProductService.java#L670
Failed test found in: product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml Error: org.springframework.dao.IncorrectResultSizeDataAccessException: Query did not return a unique result: 13 results were returned
Build
Failed test were found and 'fail-on-error' option is set to true
Build
Process completed with exit code 1.