Skip to content

Merge pull request #282 from ita-social-projects/create-event #911

Merge pull request #282 from ita-social-projects/create-event

Merge pull request #282 from ita-social-projects/create-event #911

GitHub Actions / Tests Report succeeded Oct 2, 2023 in 0s

Tests Report ✔️

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-greencity.controller.EmailControllerTest.xml 8✔️ 251ms
core/target/surefire-reports/TEST-greencity.controller.UserControllerTest.xml 52✔️ 4s
core/target/surefire-reports/TEST-greencity.exception.handler.CustomExceptionHandlerTest.xml 16✔️ 2s
core/target/surefire-reports/TEST-greencity.security.controller.FacebookSecurityControllerTest.xml 2✔️ 35ms
core/target/surefire-reports/TEST-greencity.security.controller.GoogleSecurityControllerTest.xml 1✔️ 27ms
core/target/surefire-reports/TEST-greencity.security.controller.ManagementSecurityControllerTest.xml 8✔️ 257ms
core/target/surefire-reports/TEST-greencity.security.controller.OwnSecurityControllerTest.xml 10✔️ 283ms
core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml 3✔️ 99ms
core/target/surefire-reports/TEST-greencity.security.jwt.JwtToolTest.xml 7✔️ 189ms
core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml 4✔️ 15ms

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

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

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

✔️ greencity.controller.EmailControllerTest

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

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

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

Test suite Passed Failed Skipped Time
greencity.controller.UserControllerTest 52✔️ 4s

✔️ greencity.controller.UserControllerTest

✔️ saveTest
✔️ getReasonsOfDeactivation
✔️ getUserByPrincipalTest
✔️ scheduleDeleteDeactivateUserTest
✔️ findUserForAchievementTest
✔️ getAllAuthoritiesTest
✔️ deactivateEmployeeByUUID
✔️ findAllUsersCitiesTest
✔️ updateEmployeeEmailTest
✔️ getAllUsersTest
✔️ deleteUserProfilePictureTest
✔️ activateUser
✔️ editUserRatingTest
✔️ findByEmailTest
✔️ 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
✔️ findByIdTest
✔️ findIdByEmailTest
✔️ getPositionsAndRelatedAuthoritiesTest
✔️ updateRoleBadRequestForEmptyBodyTest
✔️ getUserProfileStatistics
✔️ getUserLang
✔️ updatePositionsAndRelatedAuthoritiesTest
✔️ updateUserLanguageTest
✔️ getEmailNotificationsTest

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

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

Test suite Passed Failed Skipped Time
greencity.exception.handler.CustomExceptionHandlerTest 16✔️ 2s

✔️ 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 35ms with 2 passed, 0 failed and 0 skipped.

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

✔️ greencity.security.controller.FacebookSecurityControllerTest

✔️ generateFacebookAuthorizeURLTest
✔️ generateFacebookAccessTokenTest

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

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

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

✔️ greencity.security.controller.GoogleSecurityControllerTest

✔️ authenticateTest

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

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

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

✔️ 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 283ms with 10 passed, 0 failed and 0 skipped.

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

✔️ 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 99ms with 3 passed, 0 failed and 0 skipped.

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

✔️ greencity.security.filters.AccessTokenAuthenticationFilterTest

✔️ doFilterInternalTest
✔️ doFilterInternalTokenHasExpiredTest
✔️ doFilterInternalAccessDeniedTest

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

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

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

✔️ 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 15ms with 4 passed, 0 failed and 0 skipped.

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

✔️ greencity.security.providers.JwtAuthenticationProviderTest

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