Skip to content

Merge pull request #24 from duongminhhieu/develop #17

Merge pull request #24 from duongminhhieu/develop

Merge pull request #24 from duongminhhieu/develop #17

GitHub Actions / Production-Unit-Test-Results succeeded Jul 2, 2024 in 1s

105 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml 2s
target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest$HappyCase.xml 4✅ 69ms
target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest$UnHappyCase.xml 7✅ 2s
target/surefire-reports/TEST-com.learning.yasminishop.controller.CartControllerTest.xml 5✅ 3s
target/surefire-reports/TEST-com.learning.yasminishop.controller.CategoryControllerTest.xml 7✅ 7s
target/surefire-reports/TEST-com.learning.yasminishop.controller.OrderControllerTest.xml 4✅ 3s
target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml 3✅ 753ms
target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml 6✅ 910ms
target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml 3✅ 879ms
target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml 10✅ 13s
target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest.xml 973ms
target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest$HappyCase.xml 4✅ 19ms
target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest$UnHappyCase.xml 6✅ 949ms
target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest.xml 615ms
target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest$HappyCase.xml 5✅ 19ms
target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest$UnhappyCase.xml 1✅ 593ms
target/surefire-reports/TEST-com.learning.yasminishop.service.CategoryServiceTest.xml 651ms
target/surefire-reports/TEST-com.learning.yasminishop.service.CategoryServiceTest$HappyCase.xml 7✅ 648ms
target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest.xml 1s
target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest$HappyCase.xml 5✅ 37ms
target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest$UnHappyCase.xml 3✅ 1s
target/surefire-reports/TEST-com.learning.yasminishop.service.PermissionServiceTest.xml 527ms
target/surefire-reports/TEST-com.learning.yasminishop.service.PermissionServiceTest$HappyCase.xml 3✅ 522ms
target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest.xml 841ms
target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest$HappyCase.xml 7✅ 49ms
target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest$UnhappyCase.xml 2✅ 782ms
target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest.xml 830ms
target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest$HappyCase.xml 2✅ 16ms
target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest$UnHappyCase.xml 2✅ 809ms
target/surefire-reports/TEST-com.learning.yasminishop.service.RoleServiceTest.xml 718ms
target/surefire-reports/TEST-com.learning.yasminishop.service.RoleServiceTest$HappyCase.xml 3✅ 714ms
target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest.xml 720ms
target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest$HappyCase.xml 4✅ 140ms
target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest$UnHappyCase.xml 2✅ 575ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.AuthenticationControllerTest 2s

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.AuthenticationControllerTest$HappyCase 4✅ 69ms

✅ com.learning.yasminishop.controller.AuthenticationControllerTest$HappyCase

✅ refresh_validRequest_success
✅ register_validRequest_success
✅ logout_validRequest_success
✅ authenticate_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.AuthenticationControllerTest$UnHappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.AuthenticationControllerTest$UnHappyCase 7✅ 2s

✅ com.learning.yasminishop.controller.AuthenticationControllerTest$UnHappyCase

✅ register_invalidEmail_fail
✅ logout_nullToken_fail
✅ authenticate_nullPassword_fail
✅ refresh_nullToken_fail
✅ authenticate_invalidPassword_fail
✅ authenticate_invalidEmail_fail
✅ authenticate_nullEmail_fail

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.CartControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.CartControllerTest 5✅ 3s

✅ com.learning.yasminishop.controller.CartControllerTest

✅ deleteCart_validRequest_success
✅ createCart_validRequest_success
✅ updateCart_validRequest_success
✅ getAllCarts_validRequest_success
✅ getCartItemsByIds_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.CategoryControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.CategoryControllerTest 7✅ 7s

✅ com.learning.yasminishop.controller.CategoryControllerTest

✅ getCategoryById_validRequest_success
✅ getAllCategories_validRequest_success
✅ createCategory_validRequest_success
✅ deleteCategories_validRequest_success
✅ toggleAvailability_validRequest_success
✅ getCategoryBySlug_validRequest_success
✅ getAllCategoriesForAdmin_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.OrderControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.OrderControllerTest 4✅ 3s

✅ com.learning.yasminishop.controller.OrderControllerTest

✅ getOrderById_validRequest_success
✅ getOrderByIdForAdmin_validRequest_success
✅ getAllOrders_validRequest_success
✅ getAllOrdersForAdmin_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.PermissionControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.PermissionControllerTest 3✅ 753ms

✅ com.learning.yasminishop.controller.PermissionControllerTest

✅ getAll_validRequest_success
✅ delete_validRequest_success
✅ create_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.ProductControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.ProductControllerTest 6✅ 910ms

✅ com.learning.yasminishop.controller.ProductControllerTest

✅ getBySlug_validRequest_success
✅ updateProduct_validRequest_success
✅ deleteProduct_validRequest_success
✅ createProduct_validRequest_success
✅ getAllForAdmin_validRequest_success
✅ getById_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.RoleControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.RoleControllerTest 3✅ 879ms

✅ com.learning.yasminishop.controller.RoleControllerTest

✅ deleteRole_validRequest_success
✅ createRole_validRequest_success
✅ getAll_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.controller.UserControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.controller.UserControllerTest 10✅ 13s

✅ com.learning.yasminishop.controller.UserControllerTest

✅ getUser_validRequest_success
✅ getMyInfo_validRequest_success
✅ deleteUser_validRequest_success
✅ updateUser_emptyFirstName_fail
✅ updateUser_dobInvalid_fail
✅ updateUser_validRequest_success
✅ updateUser_passwordInvalid_fail
✅ updateUser_emptyRole_fail
✅ getAllUsers_validRequest_success
✅ getMyInfo_unauthenticatedRequest_failure

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.AuthenticationServiceTest 973ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.AuthenticationServiceTest$HappyCase 4✅ 19ms

✅ com.learning.yasminishop.service.AuthenticationServiceTest$HappyCase

✅ refresh_validRequest_success
✅ register_validRequest_success
✅ logout_validRequest_success
✅ authenticate_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.AuthenticationServiceTest$UnHappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.AuthenticationServiceTest$UnHappyCase 6✅ 949ms

✅ com.learning.yasminishop.service.AuthenticationServiceTest$UnHappyCase

✅ refresh_userNotFound_throwException
✅ refresh_invalidToken_throwException
✅ logout_invalidToken_throwException
✅ authenticate_userNotFound_throwException
✅ register_emailAlreadyExists_throwException
✅ authenticate_invalidPassword_throwException

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.CartServiceTest 615ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.CartServiceTest$HappyCase 5✅ 19ms

✅ com.learning.yasminishop.service.CartServiceTest$HappyCase

✅ getAll_validRequest_success
✅ update_validRequest_success
✅ delete_validRequest_success
✅ getCartByIds_validRequest_success
✅ create_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.CartServiceTest$UnhappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.CartServiceTest$UnhappyCase 1✅ 593ms

✅ com.learning.yasminishop.service.CartServiceTest$UnhappyCase

✅ create_productNotFound_throwException

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.CategoryServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.CategoryServiceTest 651ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.CategoryServiceTest$HappyCase.xml

7 tests were completed in 648ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.CategoryServiceTest$HappyCase 7✅ 648ms

✅ com.learning.yasminishop.service.CategoryServiceTest$HappyCase

✅ getBySlug_validRequest_success
✅ getAllCategories_validRequest_success
✅ update_validRequest_success
✅ createCategory_validRequest_success
✅ delete_validRequest_success
✅ toggleAvailability_validRequest_success
✅ getCategory_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.OrderServiceTest 1s

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.OrderServiceTest$HappyCase 5✅ 37ms

✅ com.learning.yasminishop.service.OrderServiceTest$HappyCase

✅ getAllOrderByUser_validRequest_success
✅ getOrderById_validRequest_success
✅ getOrderByIdForAdmin_validRequest_success
✅ updateOrderStatus_validRequest_success
✅ getAllOrders_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.OrderServiceTest$UnHappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.OrderServiceTest$UnHappyCase 3✅ 1s

✅ com.learning.yasminishop.service.OrderServiceTest$UnHappyCase

✅ getOrderById_orderNotFound_throwException
✅ create_cartItemNotFound_throwException
✅ create_userNotFound_throwException

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.PermissionServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.PermissionServiceTest 527ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.PermissionServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.PermissionServiceTest$HappyCase 3✅ 522ms

✅ com.learning.yasminishop.service.PermissionServiceTest$HappyCase

✅ deletePermission_validRequest_success
✅ createPermission_validRequest_success
✅ getAllPermissions_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.ProductServiceTest 841ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest$HappyCase.xml

7 tests were completed in 49ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.ProductServiceTest$HappyCase 7✅ 49ms

✅ com.learning.yasminishop.service.ProductServiceTest$HappyCase

✅ delete_allProductIdsExistAndNoneInOrderOrCart_success
✅ update_validRequest_success
✅ createProduct_validRequest_success
✅ getAllProductsForAdmin_validRequest_success
✅ toggleAvailability_validRequest_success
✅ getBySlug_validSlug_success
✅ getById_validId_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.ProductServiceTest$UnhappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.ProductServiceTest$UnhappyCase 2✅ 782ms

✅ com.learning.yasminishop.service.ProductServiceTest$UnhappyCase

✅ delete_productInOrderOrCart_throwsException
✅ delete_someProductIdsDoNotExist_throwsException

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.RatingServiceTest 830ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.RatingServiceTest$HappyCase 2✅ 16ms

✅ com.learning.yasminishop.service.RatingServiceTest$HappyCase

✅ getRatings_validRequest_success
✅ create_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.RatingServiceTest$UnHappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.RatingServiceTest$UnHappyCase 2✅ 809ms

✅ com.learning.yasminishop.service.RatingServiceTest$UnHappyCase

✅ create_ratingAlreadyExists_exception
✅ create_productNotFound_throwException

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.RoleServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.RoleServiceTest 718ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.RoleServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.RoleServiceTest$HappyCase 3✅ 714ms

✅ com.learning.yasminishop.service.RoleServiceTest$HappyCase

✅ getAll_validRequest_success
✅ delete_validRequest_success
✅ create_validRequest_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest.xml

No tests found

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.UserServiceTest 720ms

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest$HappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.UserServiceTest$HappyCase 4✅ 140ms

✅ com.learning.yasminishop.service.UserServiceTest$HappyCase

✅ getMyInfo_validRequest_success
✅ deleteUser_valid_success
✅ updateUser_validRequest_success
✅ getUserById_valid_success

✅ target/surefire-reports/TEST-com.learning.yasminishop.service.UserServiceTest$UnHappyCase.xml

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

Test suite Passed Failed Skipped Time
com.learning.yasminishop.service.UserServiceTest$UnHappyCase 2✅ 575ms

✅ com.learning.yasminishop.service.UserServiceTest$UnHappyCase

✅ updateUser_notFoundUser_error
✅ getMyInfo_userNotFound_error