Skip to content

Added implementations of method achievements #2308

Added implementations of method achievements

Added implementations of method achievements #2308

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

Tests Report ✔️

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-greencity.controller.AchievementControllerTest.xml 1✔️ 12ms
core/target/surefire-reports/TEST-greencity.controller.AdviceControllerTest.xml 8✔️ 98ms
core/target/surefire-reports/TEST-greencity.controller.CategoryControllerTest.xml 2✔️ 82ms
core/target/surefire-reports/TEST-greencity.controller.CustomShoppingListItemControllerTest.xml 6✔️ 139ms
core/target/surefire-reports/TEST-greencity.controller.EcoNewsCommentControllerTest.xml 10✔️ 216ms
core/target/surefire-reports/TEST-greencity.controller.EcoNewsControllerTest.xml 20✔️ 751ms
core/target/surefire-reports/TEST-greencity.controller.EventCommentControllerTest.xml 17✔️ 476ms
core/target/surefire-reports/TEST-greencity.controller.EventsControllerTest.xml 32✔️ 786ms
core/target/surefire-reports/TEST-greencity.controller.FactOfTheDayControllerTest.xml 4✔️ 93ms
core/target/surefire-reports/TEST-greencity.controller.FavoritePlaceControllerTest.xml 4✔️ 65ms
core/target/surefire-reports/TEST-greencity.controller.FileServiceControllerTest.xml 1✔️ 21ms
core/target/surefire-reports/TEST-greencity.controller.FriendControllerTest.xml 8✔️ 157ms
core/target/surefire-reports/TEST-greencity.controller.HabitAssignControllerTest.xml 22✔️ 354ms
core/target/surefire-reports/TEST-greencity.controller.HabitControllerTest.xml 17✔️ 282ms
core/target/surefire-reports/TEST-greencity.controller.HabitFactControllerTest.xml 7✔️ 107ms
core/target/surefire-reports/TEST-greencity.controller.HabitStatisticControllerTest.xml 7✔️ 125ms
core/target/surefire-reports/TEST-greencity.controller.LanguageControllerTest.xml 1✔️ 15ms
core/target/surefire-reports/TEST-greencity.controller.NewsSubscriberControllerTest.xml 4✔️ 77ms
core/target/surefire-reports/TEST-greencity.controller.PlaceCommentControllerTest.xml 7✔️ 128ms
core/target/surefire-reports/TEST-greencity.controller.PlaceControllerTest.xml 18✔️ 412ms
core/target/surefire-reports/TEST-greencity.controller.RedirectChatControllerTest.xml 1✔️ 17ms
core/target/surefire-reports/TEST-greencity.controller.SearchControllerTest.xml 3✔️ 91ms
core/target/surefire-reports/TEST-greencity.controller.ShoppingListItemControllerTest.xml 9✔️ 127ms
core/target/surefire-reports/TEST-greencity.controller.SocialNetworkControllerTest.xml 2✔️ 32ms
core/target/surefire-reports/TEST-greencity.controller.SpecificationControllerTest.xml 1✔️ 16ms
core/target/surefire-reports/TEST-greencity.controller.TagsControllerTest.xml 2✔️ 19ms
core/target/surefire-reports/TEST-greencity.dto.genericresponse.GenericResponseDtoTest.xml 2✔️ 1s
core/target/surefire-reports/TEST-greencity.repository.LanguageRepoTest.xml 3✔️ 37s
core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml 3✔️ 46ms
core/target/surefire-reports/TEST-greencity.security.jwt.JwtToolTest.xml 7✔️ 124ms
core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml 4✔️ 10ms
core/target/surefire-reports/TEST-greencity.validator.EcoNewsDtoRequestValidatorTest.xml 3✔️ 27ms
core/target/surefire-reports/TEST-greencity.validator.EventDtoRequestValidatorTest.xml 9✔️ 867ms
core/target/surefire-reports/TEST-greencity.validator.LanguageTranslationValidatorTest.xml 2✔️ 67ms
core/target/surefire-reports/TEST-greencity.validator.UrlValidatorTest.xml 3✔️ 35ms
core/target/surefire-reports/TEST-greencity.webcontroller.AboutUsControllerTest.xml 1✔️ 15ms
core/target/surefire-reports/TEST-greencity.webcontroller.GraphControllerTest.xml 1✔️ 60ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAchievementControllerTest.xml 7✔️ 227ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementAdvicesControllerTest.xml 9✔️ 254ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementControllerTest.xml 4✔️ 74ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEcoNewsControllerTest.xml 11✔️ 3s
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementEventsControllerTest.xml 3✔️ 118ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementFactOfTheDayControllerTest.xml 11✔️ 360ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitControllerTest.xml 7✔️ 362ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitFactsControllerTest.xml 8✔️ 189ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementHabitShoppingListItemControllerTest.xml 5✔️ 193ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementPlacesControllerTest.xml 7✔️ 719ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementRatingStatisticsControllerTest.xml 4✔️ 138ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementShoppingListItemsControllerTest.xml 9✔️ 273ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementSocialNetworkImagesControllerTest.xml 7✔️ 229ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementTagsControllerTest.xml 7✔️ 172ms
core/target/surefire-reports/TEST-greencity.webcontroller.ManagementUserControllerTest.xml 16✔️ 417ms
core/target/surefire-reports/TEST-greencity.webcontroller.TokenControllerTest.xml 1✔️ 19ms

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

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

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

✔️ greencity.controller.AchievementControllerTest

✔️ findAllTest

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

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

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

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

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

✔️ greencity.controller.CategoryControllerTest

✔️ findAllTest
✔️ saveCategory

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

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

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

✔️ greencity.controller.CustomShoppingListItemControllerTest

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

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

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

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

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

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

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

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

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

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

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

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

✔️ greencity.controller.FactOfTheDayControllerTest

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

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

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

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

✔️ greencity.controller.FavoritePlaceControllerTest

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

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

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

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

✔️ greencity.controller.FileServiceControllerTest

✔️ uploadImageTest

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

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

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

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

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

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

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

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

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

✔️ greencity.controller.HabitFactControllerTest

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

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

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

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

✔️ greencity.controller.HabitStatisticControllerTest

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

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

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

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

✔️ greencity.controller.LanguageControllerTest

✔️ getAllLanguageCodesTest

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

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

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

✔️ greencity.controller.NewsSubscriberControllerTest

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

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

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

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

✔️ greencity.controller.PlaceCommentControllerTest

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

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

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

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

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

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

✔️ greencity.controller.RedirectChatControllerTest

✔️ redirectToChatService

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

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

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

✔️ greencity.controller.SearchControllerTest

✔️ searchEventsTest
✔️ searchEverythingTest
✔️ searchEcoNewsTest

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

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

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

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

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

✔️ greencity.controller.SocialNetworkControllerTest

✔️ getSocialNetworkImageByUrl
✔️ deleteSocialNetwork

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

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

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

✔️ greencity.controller.SpecificationControllerTest

✔️ findAllTest

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

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

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

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

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

✔️ greencity.repository.LanguageRepoTest

✔️ findByTagTranslationId
✔️ findByCode
✔️ findAllLanguageCodes

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

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

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

✔️ greencity.security.filters.AccessTokenAuthenticationFilterTest

✔️ doFilterInternalTest
✔️ doFilterInternalTokenHasExpiredTest
✔️ doFilterInternalAccessDeniedTest

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

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

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

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

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

✔️ greencity.security.providers.JwtAuthenticationProviderTest

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

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

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

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

✔️ greencity.validator.EcoNewsDtoRequestValidatorTest

✔️ isValidTrueTest
✔️ isValidWrongCountOfTagsExceptionTest
✔️ isValidInvalidURLExceptionTest

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

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

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

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

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

✔️ greencity.validator.LanguageTranslationValidatorTest

✔️ isValidTrueTest
✔️ isValidFalseTest

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

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

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

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

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

✔️ greencity.webcontroller.GraphControllerTest

✔️ displayGraphTest

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

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

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

✔️ greencity.webcontroller.ManagementAchievementControllerTest

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

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

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

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

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

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

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

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

✔️ greencity.webcontroller.ManagementEventsControllerTest

✔️ getAllEvents
✔️ getAllEventsWithoutQuery
✔️ getAllEventsWithQuery

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

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

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

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

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

✔️ greencity.webcontroller.ManagementHabitControllerTest

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

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

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

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

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

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

✔️ greencity.webcontroller.ManagementHabitShoppingListItemControllerTest

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

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

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

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

✔️ greencity.webcontroller.ManagementPlacesControllerTest

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

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

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

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

✔️ greencity.webcontroller.ManagementRatingStatisticsControllerTest

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

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

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

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

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

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

✔️ greencity.webcontroller.ManagementSocialNetworkImagesControllerTest

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

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

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

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

✔️ greencity.webcontroller.ManagementTagsControllerTest

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

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

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

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

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

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

✔️ greencity.webcontroller.TokenControllerTest

✔️ passTokenToCookies