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 / Cart-Service-Unit-Test-Results succeeded Oct 28, 2024 in 0s

31 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT.xml 36s
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$AddCartItemTest.xml 2✅ 496ms
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest.xml 1✅ 34s
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest.xml 2✅ 735ms
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest.xml 1✅ 314ms
cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest.xml 1✅ 207ms
cart/target/failsafe-reports/TEST-com.yas.cart.service.ProductServiceIT.xml 1✅ 27s
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest.xml 4s
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$AddToCartTest.xml 4✅ 82ms
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest.xml 1✅ 3s
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest.xml 3✅ 431ms
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest.xml 1✅ 38ms
cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest.xml 3✅ 74ms
cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest.xml 649ms
cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$AddCartItemTest.xml 4✅ 60ms
cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest.xml 3✅ 513ms
cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$GetCartItemsTest.xml 1✅ 9ms
cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest.xml 2✅ 26ms
cart/target/surefire-reports/TEST-com.yas.cart.service.ProductServiceTest.xml 1✅ 2s

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT.xml

No tests found

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT 36s

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$AddCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT$AddCartItemTest 2✅ 496ms

✅ com.yas.cart.controller.CartItemControllerIT$AddCartItemTest

✅ testAddCartItem_whenCartItemExists_shouldUpdateCartItemQuantity
✅ testAddCartItem_whenRequestIsValid_shouldReturnCartItemGetVm

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest 1✅ 34s

✅ com.yas.cart.controller.CartItemControllerIT$DeleteCartItemTest

✅ testDeleteCartItem_whenCartItemExists_shouldDeleteCartItem

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest 2✅ 735ms

✅ com.yas.cart.controller.CartItemControllerIT$DeleteOrAdjustCartItemTest

✅ testDeleteOrAdjustCartItem_whenDeleteQuantityIsLessThanCartItemQuantity_shouldAdjustCartItemQuantity
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityIsGreaterThanOrEqualToCartItemQuantity_shouldDeleteCartItem

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest 1✅ 314ms

✅ com.yas.cart.controller.CartItemControllerIT$GetCartItemsTest

✅ testGetCartItems_whenCartItemsExist_shouldReturnCartItems

✅ cart/target/failsafe-reports/TEST-com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest 1✅ 207ms

✅ com.yas.cart.controller.CartItemControllerIT$UpdateCartItemTest

✅ testUpdateCartItem_whenRequestIsValid_shouldReturnCartItemGetVm

✅ cart/target/failsafe-reports/TEST-com.yas.cart.service.ProductServiceIT.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.service.ProductServiceIT 1✅ 27s

✅ com.yas.cart.service.ProductServiceIT

✅ test_getProducts_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest 4s

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$AddToCartTest.xml

4 tests were completed in 82ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest$AddToCartTest 4✅ 82ms

✅ com.yas.cart.controller.CartItemControllerTest$AddToCartTest

✅ testAddToCart_whenRequestIsValid_shouldReturnCartItem
✅ testAddToCart_whenProductIdIsNull_shouldReturnBadRequest
✅ testAddToCart_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testAddToCart_whenQuantityIsNull_shouldReturnBadRequest

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest 1✅ 3s

✅ com.yas.cart.controller.CartItemControllerTest$DeleteCartItemTest

✅ testDeleteCartItem_whenRequestIsValid_shouldReturnNoContent

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest 3✅ 431ms

✅ com.yas.cart.controller.CartItemControllerTest$DeleteOrAdjustCartItemTest

✅ testDeleteOrAdjustCartItem_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testDeleteOrAdjustCartItem_whenRequestIsValid_shouldReturnUpdatedCartItems
✅ testDeleteOrAdjustCartItem_whenQuantityIsNull_shouldReturnBadRequest

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest 1✅ 38ms

✅ com.yas.cart.controller.CartItemControllerTest$GetCartItemsTest

✅ testGetCartItems_whenRequestIsValid_shouldReturnCartItems

✅ cart/target/surefire-reports/TEST-com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest 3✅ 74ms

✅ com.yas.cart.controller.CartItemControllerTest$UpdateCartItemTest

✅ testUpdateCartItem_whenQuantityIsNull_shouldReturnBadRequest
✅ testUpdateCartItem_whenQuantityIsLessThanOne_shouldReturnBadRequest
✅ testUpdateCartItem_whenRequestIsValid_shouldReturnUpdatedCartItemGetVm

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.yas.cart.service.CartItemServiceTest 649ms

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$AddCartItemTest.xml

4 tests were completed in 60ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.cart.service.CartItemServiceTest$AddCartItemTest 4✅ 60ms

✅ com.yas.cart.service.CartItemServiceTest$AddCartItemTest

✅ testAddCartItem_whenProductNotFound_shouldThrowNotFoundException
✅ testAddCartItem_whenAcquireLockFailed_shouldThrowInternalServerErrorException
✅ testAddCartItem_whenCartItemDoesNotExist_shouldCreateCartItem
✅ testAddCartItem_whenCartItemExists_shouldUpdateQuantity

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest 3✅ 513ms

✅ com.yas.cart.service.CartItemServiceTest$DeleteOrAdjustCartItemTest

✅ testDeleteOrAdjustCartItem_whenDeleteQuantityLessThanCartItemQuantity_shouldUpdateCartItem
✅ testDeleteOrAdjustCartItem_whenCartItemDeleteVmsDuplicated_shouldThrowBadRequestException
✅ testDeleteOrAdjustCartItem_whenDeleteQuantityGreaterThanCartItemQuantity_shouldDeleteCartItem

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$GetCartItemsTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.service.CartItemServiceTest$GetCartItemsTest 1✅ 9ms

✅ com.yas.cart.service.CartItemServiceTest$GetCartItemsTest

✅ testGetCartItems_shouldReturnCartItems

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest 2✅ 26ms

✅ com.yas.cart.service.CartItemServiceTest$UpdateCartItemTest

✅ testUpdateCartItem_whenProductNotFound_shouldThrowNotFoundException
✅ testUpdateCartItem_whenRequestIsValid_shouldReturnCartItem

✅ cart/target/surefire-reports/TEST-com.yas.cart.service.ProductServiceTest.xml

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

Test suite Passed Failed Skipped Time
com.yas.cart.service.ProductServiceTest 1✅ 2s

✅ com.yas.cart.service.ProductServiceTest

✅ getProducts_NormalCase_ReturnProductThumbnailVms