Skip to content

[API] 2 identical end-points #6324 #890

[API] 2 identical end-points #6324

[API] 2 identical end-points #6324 #890

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Tests Report succeeded Sep 12, 2023 in 0s

Tests Report ✔️

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-greencity.controller.EmailControllerTest.xml 8✔️ 326ms
core/target/surefire-reports/TEST-greencity.controller.UserControllerTest.xml 50✔️ 5s
core/target/surefire-reports/TEST-greencity.exception.handler.CustomExceptionHandlerTest.xml 16✔️ 499ms
core/target/surefire-reports/TEST-greencity.security.controller.FacebookSecurityControllerTest.xml 2✔️ 61ms
core/target/surefire-reports/TEST-greencity.security.controller.GoogleSecurityControllerTest.xml 1✔️ 25ms
core/target/surefire-reports/TEST-greencity.security.controller.ManagementSecurityControllerTest.xml 8✔️ 246ms
core/target/surefire-reports/TEST-greencity.security.controller.OwnSecurityControllerTest.xml 10✔️ 482ms
core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml 3✔️ 78ms
core/target/surefire-reports/TEST-greencity.security.jwt.JwtToolTest.xml 7✔️ 60ms
core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml 4✔️ 91ms

✔️ core/target/surefire-reports/TEST-greencity.controller.EmailControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.controller.EmailControllerTest 8✔️ 326ms

✔️ greencity.controller.EmailControllerTest

✔️ sendHabitNotification
✔️ sendUserViolationEmailTest
✔️ addEventComment
✔️ sendUserNotification
✔️ addEcoNews
✔️ sendReport
✔️ changePlaceStatus
✔️ sendEventCreatedNotificationTest

✔️ core/target/surefire-reports/TEST-greencity.controller.UserControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.controller.UserControllerTest 50✔️ 5s

✔️ greencity.controller.UserControllerTest

✔️ saveTest
✔️ getReasonsOfDeactivation
✔️ getUserByPrincipalTest
✔️ scheduleDeleteDeactivateUserTest
✔️ findUserForAchievementTest
✔️ getAllAuthoritiesTest
✔️ deactivateEmployeeByUUID
✔️ findAllUsersCitiesTest
✔️ updateEmployeeEmailTest
✔️ getAllUsersTest
✔️ deleteUserProfilePictureTest
✔️ activateUser
✔️ editUserRatingTest
✔️ updateStatusTest
✔️ deactivateAllUserTest
✔️ getUserProfileInformationTest
✔️ searchTest
✔️ findNotDeactivatedByEmailIfNullTest
✔️ checkIfTheUserIsOnlineTest
✔️ createUbsRecordTest
✔️ searchByTest
✔️ saveUserTest
✔️ findUserForManagementTest
✔️ findAllTest
✔️ getActivatedUsersAmountTest
✔️ findUuidByEmailTest
✔️ updateUserProfilePictureTest
✔️ deactivateUser
✔️ getEmployeeLoginPositionNamesTest
✔️ getRolesTest
✔️ editAuthoritiesTest
✔️ findAllByEmailNotificationTest
✔️ updateRoleTest
✔️ updateUserTest
✔️ findAllRegistrationMonthsMapTest
✔️ getUsersByFilterTest
✔️ findNotDeactivatedByEmailTest
✔️ updateStatusBadRequestTest
✔️ checkIfUserExistsByUuidTest
✔️ getAvailableCustomShoppingListItemTest
✔️ updateUserManagementTest
✔️ updateUserManagementBadRequestTest
✔️ findIdByEmailTest
✔️ getPositionsAndRelatedAuthoritiesTest
✔️ updateRoleBadRequestForEmptyBodyTest
✔️ getUserProfileStatistics
✔️ getUserLang
✔️ updatePositionsAndRelatedAuthoritiesTest
✔️ updateUserLanguageTest
✔️ getEmailNotificationsTest

✔️ core/target/surefire-reports/TEST-greencity.exception.handler.CustomExceptionHandlerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.exception.handler.CustomExceptionHandlerTest 16✔️ 499ms

✔️ greencity.exception.handler.CustomExceptionHandlerTest

✔️ handleHttpMessageNotReadable
✔️ handleUserAlreadyHasPasswordException
✔️ handleProfilePictureSizeExceededException
✔️ handleEmailNotVerified
✔️ handleWrongIdException
✔️ handleMethodArgumentNotValid
✔️ handleBadEmailException
✔️ handleWrongPasswordException
✔️ handleBadSocialNetworkLinkException
✔️ handleWrongEmailException
✔️ testHandleBadRefreshTokenException
✔️ handleUserStatusException
✔️ handleBadRequestException
✔️ testHandleBadSocialNetworkLinkException
✔️ handleNotFoundException
✔️ handleConversionFailedException

✔️ core/target/surefire-reports/TEST-greencity.security.controller.FacebookSecurityControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.controller.FacebookSecurityControllerTest 2✔️ 61ms

✔️ greencity.security.controller.FacebookSecurityControllerTest

✔️ generateFacebookAuthorizeURLTest
✔️ generateFacebookAccessTokenTest

✔️ core/target/surefire-reports/TEST-greencity.security.controller.GoogleSecurityControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.controller.GoogleSecurityControllerTest 1✔️ 25ms

✔️ greencity.security.controller.GoogleSecurityControllerTest

✔️ authenticateTest

✔️ core/target/surefire-reports/TEST-greencity.security.controller.ManagementSecurityControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.controller.ManagementSecurityControllerTest 8✔️ 246ms

✔️ greencity.security.controller.ManagementSecurityControllerTest

✔️ loginPage
✔️ signInUserDeactivated
✔️ signInEmailNotVerified
✔️ signIn
✔️ signInUserDoNotHaveAuthorities
✔️ signInWrongPassword
✔️ signInWrongEmail
✔️ loginPageInvalidDto

✔️ core/target/surefire-reports/TEST-greencity.security.controller.OwnSecurityControllerTest.xml

10 tests were completed in 482ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.security.controller.OwnSecurityControllerTest 10✔️ 482ms

✔️ greencity.security.controller.OwnSecurityControllerTest

✔️ signInTest
✔️ verifyEmailTest
✔️ setPassword
✔️ updatePasswordTest
✔️ hasPassword
✔️ changePasswordTest
✔️ updateAccessTokenTest
✔️ singUpTest
✔️ restoreTest
✔️ singUpEmployeeTest

✔️ core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.filters.AccessTokenAuthenticationFilterTest 3✔️ 78ms

✔️ greencity.security.filters.AccessTokenAuthenticationFilterTest

✔️ doFilterInternalTest
✔️ doFilterInternalTokenHasExpiredTest
✔️ doFilterInternalAccessDeniedTest

✔️ core/target/surefire-reports/TEST-greencity.security.jwt.JwtToolTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.jwt.JwtToolTest 7✔️ 60ms

✔️ greencity.security.jwt.JwtToolTest

✔️ isTokenValidWithValidTokenTest
✔️ createAccessToken
✔️ getEmailOutOfAccessToken
✔️ generateTokenKeyTest
✔️ getTokenFromHttpServletRequest
✔️ isTokenValidWithInvalidTokenTest
✔️ createRefreshToken

✔️ core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml

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

Test suite Passed Failed Skipped Time
greencity.security.providers.JwtAuthenticationProviderTest 4✔️ 91ms

✔️ greencity.security.providers.JwtAuthenticationProviderTest

✔️ supportsTest
✔️ authenticateWithMalformedAccessToken
✔️ authenticateWithExpiredAccessToken
✔️ authenticateWithValidAccessToken