Skip to content

[Create event] User can not publish new event #6409 #2273

[Create event] User can not publish new event #6409

[Create event] User can not publish new event #6409 #2273

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

Tests Report ✔️

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-greencity.controller.AchievementControllerTest.xml 3✔️ 42ms
core/target/surefire-reports/TEST-greencity.controller.AdviceControllerTest.xml 8✔️ 115ms
core/target/surefire-reports/TEST-greencity.controller.CategoryControllerTest.xml 2✔️ 45ms
core/target/surefire-reports/TEST-greencity.controller.CustomShoppingListItemControllerTest.xml 6✔️ 176ms
core/target/surefire-reports/TEST-greencity.controller.EcoNewsCommentControllerTest.xml 10✔️ 159ms
core/target/surefire-reports/TEST-greencity.controller.EcoNewsControllerTest.xml 20✔️ 714ms
core/target/surefire-reports/TEST-greencity.controller.EventCommentControllerTest.xml 17✔️ 542ms
core/target/surefire-reports/TEST-greencity.controller.EventsControllerTest.xml 32✔️ 735ms
core/target/surefire-reports/TEST-greencity.controller.FactOfTheDayControllerTest.xml 4✔️ 62ms
core/target/surefire-reports/TEST-greencity.controller.FavoritePlaceControllerTest.xml 4✔️ 66ms
core/target/surefire-reports/TEST-greencity.controller.FileServiceControllerTest.xml 1✔️ 19ms
core/target/surefire-reports/TEST-greencity.controller.FriendControllerTest.xml 8✔️ 115ms
core/target/surefire-reports/TEST-greencity.controller.HabitAssignControllerTest.xml 22✔️ 377ms
core/target/surefire-reports/TEST-greencity.controller.HabitControllerTest.xml 17✔️ 340ms
core/target/surefire-reports/TEST-greencity.controller.HabitFactControllerTest.xml 7✔️ 87ms
core/target/surefire-reports/TEST-greencity.controller.HabitStatisticControllerTest.xml 7✔️ 176ms
core/target/surefire-reports/TEST-greencity.controller.LanguageControllerTest.xml 1✔️ 13ms
core/target/surefire-reports/TEST-greencity.controller.NewsSubscriberControllerTest.xml 4✔️ 71ms
core/target/surefire-reports/TEST-greencity.controller.PlaceCommentControllerTest.xml 7✔️ 130ms
core/target/surefire-reports/TEST-greencity.controller.PlaceControllerTest.xml 18✔️ 518ms
core/target/surefire-reports/TEST-greencity.controller.RedirectChatControllerTest.xml 1✔️ 12ms
core/target/surefire-reports/TEST-greencity.controller.SearchControllerTest.xml 3✔️ 101ms
core/target/surefire-reports/TEST-greencity.controller.ShoppingListItemControllerTest.xml 9✔️ 133ms
core/target/surefire-reports/TEST-greencity.controller.SocialNetworkControllerTest.xml 2✔️ 76ms
core/target/surefire-reports/TEST-greencity.controller.SpecificationControllerTest.xml 1✔️ 13ms
core/target/surefire-reports/TEST-greencity.controller.TagsControllerTest.xml 2✔️ 21ms
core/target/surefire-reports/TEST-greencity.dto.genericresponse.GenericResponseDtoTest.xml 2✔️ 1s
core/target/surefire-reports/TEST-greencity.repository.LanguageRepoTest.xml 3✔️ 38s
core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml 3✔️ 47ms
core/target/surefire-reports/TEST-greencity.security.jwt.JwtToolTest.xml 7✔️ 129ms
core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml 4✔️ 12ms
core/target/surefire-reports/TEST-greencity.validator.EcoNewsDtoRequestValidatorTest.xml 3✔️ 31ms
core/target/surefire-reports/TEST-greencity.validator.EventDtoRequestValidatorTest.xml 9✔️ 918ms
core/target/surefire-reports/TEST-greencity.validator.LanguageTranslationValidatorTest.xml 2✔️ 62ms
core/target/surefire-reports/TEST-greencity.validator.UrlValidatorTest.xml 3✔️ 21ms
core/target/surefire-reports/TEST-greencity.webcontroller.AboutUsControllerTest.xml 1✔️ 15ms
core/target/surefire-reports/TEST-greencity.webcontroller.GraphControllerTest.xml 1✔️ 30ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAchievementControllerTest.xml 7✔️ 263ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAdvicesControllerTest.xml 9✔️ 185ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementControllerTest.xml 4✔️ 107ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEcoNewsControllerTest.xml 11✔️ 3s
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEventsControllerTest.xml 3✔️ 93ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementFactOfTheDayControllerTest.xml 11✔️ 393ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitControllerTest.xml 7✔️ 344ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitFactsControllerTest.xml 8✔️ 171ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitShoppingListItemControllerTest.xml 5✔️ 160ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementPlacesControllerTest.xml 7✔️ 785ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementRatingStatisticsControllerTest.xml 4✔️ 153ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementShoppingListItemsControllerTest.xml 9✔️ 277ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementSocialNetworkImagesControllerTest.xml 7✔️ 286ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementTagsControllerTest.xml 7✔️ 196ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementUserControllerTest.xml 16✔️ 513ms
core/target/surefire-reports/TEST-greencity.webcontroller.TokenControllerTest.xml 1✔️ 22ms

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

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

Test suite Passed Failed Skipped Time
greencity.controller.AchievementControllerTest 3✔️ 42ms

✔️ greencity.controller.AchievementControllerTest

✔️ calculateAchievements
✔️ findAllTest
✔️ getNotificationTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.AdviceControllerTest 8✔️ 115ms

✔️ greencity.controller.AdviceControllerTest

✔️ saveTest
✔️ getByIdTest
✔️ deleteFailedTest
✔️ updateTest
✔️ getRandomAdviceHabitIdAndLanguageTest
✔️ getAllTest
✔️ getRandomAdviceHabitWithInvalidIdAndLanguageTest
✔️ deleteTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.CategoryControllerTest 2✔️ 45ms

✔️ greencity.controller.CategoryControllerTest

✔️ findAllTest
✔️ saveCategory

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

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

Test suite Passed Failed Skipped Time
greencity.controller.CustomShoppingListItemControllerTest 6✔️ 176ms

✔️ greencity.controller.CustomShoppingListItemControllerTest

✔️ delete
✔️ getAllCustomShoppingItemsByStatus
✔️ updateItemStatusToDoneTest
✔️ save
✔️ getAllAvailableCustomShoppingListItems
✔️ updateItemStatus

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

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

Test suite Passed Failed Skipped Time
greencity.controller.EcoNewsCommentControllerTest 10✔️ 159ms

✔️ greencity.controller.EcoNewsCommentControllerTest

✔️ saveBadRequestTest
✔️ getCountOfReplies
✔️ getCountOfComments
✔️ update
✔️ like
✔️ save
✔️ getAllActiveComments
✔️ findAllActiveReplies
✔️ findAllReplies
✔️ deleteTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.EcoNewsControllerTest 20✔️ 714ms

✔️ greencity.controller.EcoNewsControllerTest

✔️ saveTest
✔️ saveBadRequestTest
✔️ getThreeLastEcoNewsTest
✔️ findAmountOfPublishedNews
✔️ getEcoNewsById
✔️ getEcoNewsTest
✔️ getEcoNewsByUserTest
✔️ findAllEcoNewsTagsTest
✔️ getThreeRecommendedEcoNewsTest
✔️ getEcoNewsByUserByPage
✔️ uploadImageTest
✔️ findAllTest
✔️ countLikesForEcoNewsTest
✔️ getContentAndSourceForEcoNewsByIdNot_Found_Request
✔️ getEcoNewsEmptyTagsListTest
✔️ getContentAndSourceForEcoNewsById
✔️ dislikeTest
✔️ likeTest
✔️ deleteTest
✔️ checkNewsIsLikedByUserTest

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

17 tests were completed in 542ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.EventCommentControllerTest 17✔️ 542ms

✔️ greencity.controller.EventCommentControllerTest

✔️ saveBadRequestTest
✔️ likeNotFoundTest
✔️ countComments
✔️ getCountOfActiveRepliesTest
✔️ getCountOfActiveRepliesNotFoundTest
✔️ likeWithNotValidIdBadRequestTest
✔️ save
✔️ getCountOfActiveRepliesBadRequestTest
✔️ getEventCommentById
✔️ findAllActiveRepliesWithNonexistentIdNotFoundTest
✔️ getAllActiveComments
✔️ countLikesNotFoundTest
✔️ findAllActiveReplies
✔️ likeTest
✔️ findAllActiveRepliesWithNotValidIdBadRequestTest
✔️ countLikesNotValidIdBadRequestTest
✔️ countLikesTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.EventsControllerTest 32✔️ 735ms

✔️ greencity.controller.EventsControllerTest

✔️ addToFavoritesTest
✔️ saveTest
✔️ getAllEventsAddressesTest
✔️ rateEventNotFoundTest
✔️ saveBadRequestTest
✔️ removeAttenderBadRequestTest
✔️ rateEventWithNotValidGradeBadRequestTest
✔️ addAttenderBadRequestTest
✔️ deleteFailedTest
✔️ removeAttenderNotFoundTest
✔️ getRelatedToUserEvents
✔️ rateEventWithNotValidIdBadRequestTest
✔️ getAllEventsTest
✔️ getAllFavoriteEventsByUserTest
✔️ rateEventBadRequestTest
✔️ removeFromFavoritesTest
✔️ getEventFailedTest
✔️ updateTest
✔️ addAttenderNotFoundTest
✔️ getEventTest
✔️ addAttenderTest
✔️ addAttenderWithNotValidIdBadRequestTest
✔️ getEventResponseTest
✔️ updateBadRequestTest
✔️ removeAttenderTest
✔️ getAllEventSubscribersWithNotValidIdBadRequestTest
✔️ getAllEventSubscribersNotFoundTest
✔️ getUserEventsTest
✔️ getAllEventSubscribersTest
✔️ deleteTest
✔️ rateEventTest
✔️ getEventsCreatedByUser

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

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

Test suite Passed Failed Skipped Time
greencity.controller.FactOfTheDayControllerTest 4✔️ 62ms

✔️ greencity.controller.FactOfTheDayControllerTest

✔️ findFactOfTheDayTest
✔️ getLanguagesTest
✔️ getAllFactOfTheDayTest
✔️ getRandomFactOfTheDayTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.FavoritePlaceControllerTest 4✔️ 66ms

✔️ greencity.controller.FavoritePlaceControllerTest

✔️ deleteByUserEmailAndPlaceId
✔️ updateTest
✔️ findAllByUserEmail
✔️ getFavoritePlaceWithCoordinate

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

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

Test suite Passed Failed Skipped Time
greencity.controller.FileServiceControllerTest 1✔️ 19ms

✔️ greencity.controller.FileServiceControllerTest

✔️ uploadImageTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.FriendControllerTest 8✔️ 115ms

✔️ greencity.controller.FriendControllerTest

✔️ getAllUserFriendsRequestsTest
✔️ deleteUserFriendTest
✔️ declineFriendRequestTest
✔️ addNewFriendTest
✔️ findUserFriendsByUserIdTest
✔️ acceptFriendRequestTest
✔️ findAllUsersExceptMainUserAndUsersFriend
✔️ findAllFriendsOfUserTest

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

22 tests were completed in 377ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.HabitAssignControllerTest 22✔️ 377ms

✔️ greencity.controller.HabitAssignControllerTest

✔️ updateUserAndCustomShoppingLists
✔️ getInprogressHabitAssignOnDate
✔️ updateStatusAndDurationOfHabitAssignTest
✔️ deleteHabitAssignTest
✔️ assign
✔️ getCurrentUserHabitAssignsByIdAndAcquired
✔️ updateAssignByHabitAssignId
✔️ getHabitAssign
✔️ getUsersHabitByHabitId
✔️ updateHabitAssignDurationTest
✔️ enrollHabit
✔️ updateProgressNotificationHasDisplayedTest
✔️ getUserAndCustomListByUserIdAndHabitIdAndLocale
✔️ getUserAndCustomListByUserIdAndHabitId
✔️ getHabitAssignBetweenDatesTest
✔️ updateShoppingListStatus
✔️ unenrollHabit
✔️ getHabitAssignByHabitIdTest
✔️ cancelHabitAssign
✔️ getAllHabitAssignsByHabitIdAndAcquired
✔️ getListOfUserAndCustomShoppingListsInprogress
✔️ assignCustom

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

17 tests were completed in 340ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.HabitControllerTest 17✔️ 340ms

✔️ greencity.controller.HabitControllerTest

✔️ findByDifferentParametersBadRequest
✔️ findByDifferentParametersWithComplexityAndTags
✔️ getHabitById
✔️ getAll
✔️ getFriendsAssignedToHabitProfilePictures
✔️ getAllByTagsAndLanguageCode
✔️ findByDifferentParametersWithTags
✔️ postCustomHabit
✔️ findByDifferentParametersBadRequestWithEmptyList
✔️ findByDifferentParametersWithTagsAndIsCustomHabit
✔️ findByDifferentParametersWithComplexity
✔️ getShoppingListItems
✔️ findByDifferentParameters
✔️ findByDifferentParametersWithComplexityAndIsCustomHabit
✔️ findByDifferentParametersWithIsCustomHabit
✔️ findAllHabitsTags
✔️ updateCustomHabit

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

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

Test suite Passed Failed Skipped Time
greencity.controller.HabitFactControllerTest 7✔️ 87ms

✔️ greencity.controller.HabitFactControllerTest

✔️ saveTest
✔️ getRandomFactByHabitIdTest
✔️ deleteFailedTest
✔️ getHabitFactOfTheDayTest
✔️ updateTest
✔️ getAllTest
✔️ deleteTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.HabitStatisticControllerTest 7✔️ 176ms

✔️ greencity.controller.HabitStatisticControllerTest

✔️ getTodayStatisticsForAllHabitItems
✔️ findAllStatsByHabitAssignId
✔️ findAllByHabitId
✔️ updateStatistic
✔️ findAmountOfAcquiredHabits
✔️ save
✔️ findAmountOfHabitsInProgress

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

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

Test suite Passed Failed Skipped Time
greencity.controller.LanguageControllerTest 1✔️ 13ms

✔️ greencity.controller.LanguageControllerTest

✔️ getAllLanguageCodesTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.NewsSubscriberControllerTest 4✔️ 71ms

✔️ greencity.controller.NewsSubscriberControllerTest

✔️ saveBadRequest
✔️ getAll
✔️ saveResponseOk
✔️ deleteResponseOk

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

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

Test suite Passed Failed Skipped Time
greencity.controller.PlaceCommentControllerTest 7✔️ 130ms

✔️ greencity.controller.PlaceCommentControllerTest

✔️ saveTest
✔️ saveBadRequestTest
✔️ deleteByIdTest
✔️ deleteByIdFailedTest
✔️ findAllTest
✔️ findByIdTest
✔️ findByIdFailedTest

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

18 tests were completed in 518ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.PlaceControllerTest 18✔️ 518ms

✔️ greencity.controller.PlaceControllerTest

✔️ delete
✔️ bulkDelete
✔️ updateStatus
✔️ getStatuses
✔️ updatePlace
✔️ getAllPlaces
✔️ proposePlace
✔️ getInfo
✔️ saveEcoPlaceFromUi
✔️ getFilteredPlaces
✔️ bulkUpdateStatuses
✔️ getPlacesByStatus
✔️ filterPlaceBySearchPredicate
✔️ saveAsFavoritePlace
✔️ getFavoritePlaceInfo
✔️ getListPlaceLocationByMapsBounds
✔️ getPlaceById
✔️ allFilterPlaceCategoriesTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.RedirectChatControllerTest 1✔️ 12ms

✔️ greencity.controller.RedirectChatControllerTest

✔️ redirectToChatService

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

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

Test suite Passed Failed Skipped Time
greencity.controller.SearchControllerTest 3✔️ 101ms

✔️ greencity.controller.SearchControllerTest

✔️ searchEventsTest
✔️ searchEverythingTest
✔️ searchEcoNewsTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.ShoppingListItemControllerTest 9✔️ 133ms

✔️ greencity.controller.ShoppingListItemControllerTest

✔️ updateUserShoppingListItemStatus
✔️ getUserShoppingListItemWithoutLanguageParamTest
✔️ bulkDeleteUserShoppingListItemTest
✔️ updateUserShoppingListItemStatusWithoutLanguageParamTest
✔️ updateUserShoppingListItemStatusWithLanguageParamTest
✔️ findAllByUserTest
✔️ saveUserShoppingListItemWithoutLanguageParamTest
✔️ getUserShoppingListItemsWithLanguageParamTest
✔️ deleteTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.SocialNetworkControllerTest 2✔️ 76ms

✔️ greencity.controller.SocialNetworkControllerTest

✔️ getSocialNetworkImageByUrl
✔️ deleteSocialNetwork

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

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

Test suite Passed Failed Skipped Time
greencity.controller.SpecificationControllerTest 1✔️ 13ms

✔️ greencity.controller.SpecificationControllerTest

✔️ findAllTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.TagsControllerTest 2✔️ 21ms

✔️ greencity.controller.TagsControllerTest

✔️ findAllEcoNewsTags
✔️ findByTypeTest

✔️ core/target/surefire-reports/TEST-greencity.dto.genericresponse.GenericResponseDtoTest.xml

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

Test suite Passed Failed Skipped Time
greencity.dto.genericresponse.GenericResponseDtoTest 2✔️ 1s

✔️ greencity.dto.genericresponse.GenericResponseDtoTest

✔️ buildGenericResponseDtoWithEmptyListTest
✔️ buildGenericResponseDtoTest

✔️ core/target/surefire-reports/TEST-greencity.repository.LanguageRepoTest.xml

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

Test suite Passed Failed Skipped Time
greencity.repository.LanguageRepoTest 3✔️ 38s

✔️ greencity.repository.LanguageRepoTest

✔️ findByTagTranslationId
✔️ findByCode
✔️ findAllLanguageCodes

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

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

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

✔️ greencity.security.filters.AccessTokenAuthenticationFilterTest

✔️ doFilterInternalTest
✔️ doFilterInternalTokenHasExpiredTest
✔️ doFilterInternalAccessDeniedTest

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

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

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

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

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

✔️ greencity.security.providers.JwtAuthenticationProviderTest

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

✔️ core/target/surefire-reports/TEST-greencity.validator.EcoNewsDtoRequestValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validator.EcoNewsDtoRequestValidatorTest 3✔️ 31ms

✔️ greencity.validator.EcoNewsDtoRequestValidatorTest

✔️ isValidTrueTest
✔️ isValidWrongCountOfTagsExceptionTest
✔️ isValidInvalidURLExceptionTest

✔️ core/target/surefire-reports/TEST-greencity.validator.EventDtoRequestValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validator.EventDtoRequestValidatorTest 9✔️ 918ms

✔️ greencity.validator.EventDtoRequestValidatorTest

✔️ withZeroDatesException
✔️ withTooManyTagsException
✔️ withoutDatesException
✔️ validEvent
✔️ withStartDateInPastException
✔️ withTooManyDatesException
✔️ withStartDateAfterFinishDateException
✔️ withoutAddressAndLinkException
✔️ withInvalidLinkException

✔️ core/target/surefire-reports/TEST-greencity.validator.LanguageTranslationValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validator.LanguageTranslationValidatorTest 2✔️ 62ms

✔️ greencity.validator.LanguageTranslationValidatorTest

✔️ isValidTrueTest
✔️ isValidFalseTest

✔️ core/target/surefire-reports/TEST-greencity.validator.UrlValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validator.UrlValidatorTest 3✔️ 21ms

✔️ greencity.validator.UrlValidatorTest

✔️ UrlValidatorURISyntaxExceptionTest
✔️ UrlValidatorMalformedURLExceptionTest
✔️ UrlValidatorTrueTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.AboutUsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.AboutUsControllerTest 1✔️ 15ms

✔️ greencity.webcontroller.AboutUsControllerTest

✔️ goToIndexTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.GraphControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.GraphControllerTest 1✔️ 30ms

✔️ greencity.webcontroller.GraphControllerTest

✔️ displayGraphTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAchievementControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementAchievementControllerTest 7✔️ 263ms

✔️ greencity.webcontroller.ManagementAchievementControllerTest

✔️ getAllAchievementTest
✔️ getAchievementByIdTest
✔️ deleteAllTest
✔️ updateTest
✔️ saveAchievementTest
✔️ getAllAchievementSearchByQueryTest
✔️ deleteAchievementByIdTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAdvicesControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementAdvicesControllerTest 9✔️ 185ms

✔️ greencity.webcontroller.ManagementAdvicesControllerTest

✔️ unlinkAdvice
✔️ filterAdvices
✔️ updateAdvice
✔️ deleteAllAdvices
✔️ findAllAdvices
✔️ saveAdvice
✔️ findAllAdvicesWithQuery
✔️ deleteAdviceById
✔️ findAdviceById

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementControllerTest 4✔️ 107ms

✔️ greencity.webcontroller.ManagementControllerTest

✔️ loginTest
✔️ loginIfAuthenticated
✔️ redirectLoginTest
✔️ goToIndexTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEcoNewsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementEcoNewsControllerTest 11✔️ 3s

✔️ greencity.webcontroller.ManagementEcoNewsControllerTest

✔️ delete
✔️ getEcoNewsById
✔️ getEcoNewsPage
✔️ saveEcoNews
✔️ getAllEcoNewsTagTest
✔️ update
✔️ getAllEcoNews
✔️ getAllEcoNewsSearchByQueryTest
✔️ deleteAll
✔️ getLikesByEcoNewsId
✔️ getAllEcoNewsSearchByForm

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEventsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementEventsControllerTest 3✔️ 93ms

✔️ greencity.webcontroller.ManagementEventsControllerTest

✔️ getAllEvents
✔️ getAllEventsWithoutQuery
✔️ getAllEventsWithQuery

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementFactOfTheDayControllerTest.xml

11 tests were completed in 393ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementFactOfTheDayControllerTest 11✔️ 393ms

✔️ greencity.webcontroller.ManagementFactOfTheDayControllerTest

✔️ findAllWithoutQueryTest
✔️ getAllFactsOfTheDayTest
✔️ deleteAllTest
✔️ findAllWithQueryTest
✔️ updateFactOfTheDayTest
✔️ deleteBadRequestTest
✔️ deleteAllBadRequestTest
✔️ saveFactOfTheDayTest
✔️ deleteTest
✔️ updateFactOfTheDayWithoutIdTest
✔️ saveFactOfTheDayWithoutIdTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementHabitControllerTest 7✔️ 344ms

✔️ greencity.webcontroller.ManagementHabitControllerTest

✔️ getHabitById
✔️ delete
✔️ update
✔️ findAllHabits
✔️ deleteAll
✔️ save
✔️ getHabitByIdPage

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitFactsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementHabitFactsControllerTest 8✔️ 171ms

✔️ greencity.webcontroller.ManagementHabitFactsControllerTest

✔️ updateHabitFactsTest
✔️ deleteAllTest
✔️ findAllHabitFactsTestWithQuery
✔️ saveHabitFactsTest
✔️ getHabitFactsByIdTest
✔️ filterDataTest
✔️ deleteTest
✔️ findAllHabitFactsTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitShoppingListItemControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementHabitShoppingListItemControllerTest 5✔️ 160ms

✔️ greencity.webcontroller.ManagementHabitShoppingListItemControllerTest

✔️ deleteShoppingListItemTest
✔️ getAllShoppingListItemsTest
✔️ addAllShoppingListItemTest
✔️ deleteAllShoppingListItem
✔️ addShoppingListItemToHabit

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementPlacesControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementPlacesControllerTest 7✔️ 785ms

✔️ greencity.webcontroller.ManagementPlacesControllerTest

✔️ delete
✔️ updatePlaceTest
✔️ getAllPlaces
✔️ deleteAll
✔️ updatePlaceWithoutIdTest
✔️ getPlaceByIdTest
✔️ savePlace

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementRatingStatisticsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementRatingStatisticsControllerTest 4✔️ 153ms

✔️ greencity.webcontroller.ManagementRatingStatisticsControllerTest

✔️ getUserRatingStatisticsTest
✔️ exportToExcelTest
✔️ filterDataTest
✔️ exportFilteredToExcelTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementShoppingListItemsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementShoppingListItemsControllerTest 9✔️ 277ms

✔️ greencity.webcontroller.ManagementShoppingListItemsControllerTest

✔️ saveTest
✔️ updateHabitFactsTest
✔️ deleteAllTest
✔️ getAllShoppingListItemsSearchByQueryTest
✔️ getShoppingListItemByIdTest
✔️ getAllShoppingListItemsTest
✔️ unlinkShoppingListItems
✔️ filterDataTest
✔️ deleteTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementSocialNetworkImagesControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementSocialNetworkImagesControllerTest 7✔️ 286ms

✔️ greencity.webcontroller.ManagementSocialNetworkImagesControllerTest

✔️ delete
✔️ getEcoNewsById
✔️ update
✔️ deleteAll
✔️ save
✔️ getAllSocialNetworkImages
✔️ getAllSocialNetworkImagesSearchByQueryTest

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementTagsControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementTagsControllerTest 7✔️ 196ms

✔️ greencity.webcontroller.ManagementTagsControllerTest

✔️ updateTag
✔️ bulkDelete
✔️ search
✔️ findAll
✔️ findById
✔️ save
✔️ deleteById

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.ManagementUserControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.ManagementUserControllerTest 16✔️ 513ms

✔️ greencity.webcontroller.ManagementUserControllerTest

✔️ getReasonsOfDeactivation
✔️ deleteUserFilterTest
✔️ findFriendsByIdTest
✔️ deactivateAllTest
✔️ selectFilterTest
✔️ searchTest
✔️ changeRoleTest
✔️ saveUserFilterTest
✔️ getAllUsers
✔️ saveUserTest
✔️ deactivateUser
✔️ updateUserRole
✔️ updateUserTest
✔️ setActivatedStatus
✔️ getUserById
✔️ getUserLang

✔️ core/target/surefire-reports/TEST-greencity.webcontroller.TokenControllerTest.xml

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

Test suite Passed Failed Skipped Time
greencity.webcontroller.TokenControllerTest 1✔️ 22ms

✔️ greencity.webcontroller.TokenControllerTest

✔️ passTokenToCookies