Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquibase redundante records #1558

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

merge dev

6829332
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Liquibase redundante records #1558

merge dev
6829332
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests Report succeeded Dec 20, 2024 in 0s

Tests Report ✔️

Tests passed successfully

Report Passed Failed Skipped Time
core/target/surefire-reports/TEST-greencity.controller.AddressControllerTest.xml 7✔️ 117ms
core/target/surefire-reports/TEST-greencity.controller.AdminUbsControllerTest.xml 8✔️ 209ms
core/target/surefire-reports/TEST-greencity.controller.ClientControllerTest.xml 7✔️ 132ms
core/target/surefire-reports/TEST-greencity.controller.CustomErrorControllerTest.xml 2✔️ 110ms
core/target/surefire-reports/TEST-greencity.controller.ManagementEmployeeControllerTest.xml 14✔️ 302ms
core/target/surefire-reports/TEST-greencity.controller.ManagementNotificationControllerTest.xml 12✔️ 248ms
core/target/surefire-reports/TEST-greencity.controller.ManagementOrderControllerTest.xml 39✔️ 2s
core/target/surefire-reports/TEST-greencity.controller.NotificationControllerTest.xml 6✔️ 143ms
core/target/surefire-reports/TEST-greencity.controller.OrderControllerTest.xml 29✔️ 1s
core/target/surefire-reports/TEST-greencity.controller.SuperAdminControllerTest.xml 57✔️ 763ms
core/target/surefire-reports/TEST-greencity.controller.UserAgreementControllerTest.xml 5✔️ 125ms
core/target/surefire-reports/TEST-greencity.controller.UserProfileControllerTest.xml 4✔️ 40ms
core/target/surefire-reports/TEST-greencity.controller.ViberControllerTest.xml 3✔️ 106ms
core/target/surefire-reports/TEST-greencity.exception.handler.CustomExceptionHandlerTest.xml 10✔️ 3s
core/target/surefire-reports/TEST-greencity.exception.handler.RetrieveMessageErrorDecoderTest.xml 5✔️ 130ms
core/target/surefire-reports/TEST-greencity.repository.BigOrderTableRepositoryTest.xml 35✔️ 45s
core/target/surefire-reports/TEST-greencity.security.filters.AccessTokenAuthenticationFilterTest.xml 1✔️ 2✖️ 161ms
core/target/surefire-reports/TEST-greencity.security.PreAuthorizerTest.xml 2✔️ 49ms
core/target/surefire-reports/TEST-greencity.security.providers.JwtAuthenticationProviderTest.xml 4✔️ 583ms
core/target/surefire-reports/TEST-greencity.validators.AddressValidatorTest.xml 7✔️ 30ms
core/target/surefire-reports/TEST-greencity.validators.UpdateAddressValidatorTest.xml 5✔️ 148ms

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

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

Test suite Passed Failed Skipped Time
greencity.controller.AddressControllerTest 7✔️ 117ms

✔️ greencity.controller.AddressControllerTest

✔️ getAllDistrictsForKyiv
✔️ getAllDistrictsForRegionAndCity
✔️ deleteOrderAddress
✔️ getAllAddressesForCurrentUser
✔️ saveAddressForOrder
✔️ updateAddressForOrder
✔️ makeAddressActual

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

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

Test suite Passed Failed Skipped Time
greencity.controller.AdminUbsControllerTest 8✔️ 209ms

✔️ greencity.controller.AdminUbsControllerTest

✔️ saveColumnWidthForEmployeeTest
✔️ getColumnWidthForEmployeeTest
✔️ getTableParametersWithRegion
✔️ blockOrdersTest
✔️ getAllOrdersForUserTest
✔️ getTableParameters
✔️ getAllLocations
✔️ saveNewValueFromOrdersTableTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.ClientControllerTest 7✔️ 132ms

✔️ greencity.controller.ClientControllerTest

✔️ getAllDataForOrderTest
✔️ getOrderPaymentDetail
✔️ getUserBonusesTest
✔️ deleteOrderTest
✔️ getAllPointsForUserTest
✔️ getDataForOrderTest
✔️ processOrder

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

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

Test suite Passed Failed Skipped Time
greencity.controller.CustomErrorControllerTest 2✔️ 110ms

✔️ greencity.controller.CustomErrorControllerTest

✔️ getErrorPathTest
✔️ testHandleError

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

14 tests were completed in 302ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.ManagementEmployeeControllerTest 14✔️ 302ms

✔️ greencity.controller.ManagementEmployeeControllerTest

✔️ editAuthorities
✔️ saveBadRequestTest
✔️ activateEmployeeTest
✔️ getAllAuthorities
✔️ getEmployeesByUserIdTest
✔️ getAllPosition
✔️ getTariffInfoForEmployeeTest
✔️ saveEmployeeTest
✔️ getAllEmployees
✔️ deleteEmployeeTest
✔️ getPositionsAndRelatedAuthoritiesTest
✔️ getEmployeesByTariffIdTest
✔️ updateEmployeeTest
✔️ deleteEmployeeImage

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

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

Test suite Passed Failed Skipped Time
greencity.controller.ManagementNotificationControllerTest 12✔️ 248ms

✔️ greencity.controller.ManagementNotificationControllerTest

✔️ deactivateNotificationTemplateNotFoundTest
✔️ saveBadRequestTest
✔️ removeNotificationTemplateTest
✔️ addNotificationTemplateWithWrongBodyTest
✔️ addNotificationTemplateTest
✔️ updateNotificationTemplateTest
✔️ getAllTest
✔️ removeNotificationTemplateBadRequestTest
✔️ deactivateNotificationTemplateBadRequestTest
✔️ getNotificationTemplateTest
✔️ removeNotificationTemplateNotFoundTest
✔️ deactivateNotificationTemplate

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

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

Test suite Passed Failed Skipped Time
greencity.controller.ManagementOrderControllerTest 39✔️ 2s

✔️ greencity.controller.ManagementOrderControllerTest

✔️ getDataForOrderStatusPageTest
✔️ addPointsToUserTest
✔️ deletesViolationFromOrder
✔️ getUpdateAllOrderPageAdminInfoTest
✔️ addCertificateTest
✔️ getOrderBagsInfo
✔️ getOrderCancellationReason
✔️ deleteCertificateTest
✔️ getAllDataForOrderTest
✔️ updateEcoNumberForOrder
✔️ groupCoordsWithSpecifiedOnes
✔️ checkIfOrderStatusIsFormedToCanceledTest
✔️ paymentInfoTest
✔️ getOrderExportDetail
✔️ updateOrderExportedDetail
✔️ returnsDetailsAboutViolationWithGivenOrderId
✔️ getCustomTableParametersTest
✔️ getAllCertificates
✔️ setCustomTable
✔️ updatePageAdminInfoTest
✔️ getUserViolationsTest
✔️ getAllEmployeeByPositionTest
✔️ getAddressByOrder
✔️ checkEmployeeForOrderPageTest
✔️ getOrderDetail
✔️ getNotTakenOrderReason
✔️ geOrderStatusesDetail
✔️ allUndeliveredCoordsTest
✔️ getOrders
✔️ getCustomTableParameters
✔️ deleteManualPayment
✔️ addManualPayment
✔️ updateManualPayment
✔️ setCustomTableTest
✔️ groupCoordsTest
✔️ getSumOrderDetail
✔️ answersNotFoundWhenNoViolationWithGivenOrderId
✔️ updateOrderStatusesDetail
✔️ saveAdminCommentToOrder

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

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

Test suite Passed Failed Skipped Time
greencity.controller.NotificationControllerTest 6✔️ 143ms

✔️ greencity.controller.NotificationControllerTest

✔️ getNotification
✔️ getNotificationsForCurrentUser
✔️ getUnreadenNotificationsTest
✔️ viewNotificationTest
✔️ unreadNotificationTest
✔️ deleteNotificationTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.OrderControllerTest 29✔️ 1s

✔️ greencity.controller.OrderControllerTest

✔️ updatesRecipientsInfo
✔️ getTariffIdByLocationIdTest
✔️ getTariffForOrder
✔️ receivePaymentTest
✔️ getOrderDetailsByOrderId
✔️ processOrderId
✔️ getAllActiveLocationsByCourierIdTest
✔️ processPaidOrderId
✔️ getCurrentUserPointsByTariffAndLocationId
✔️ getInfoAboutTariffTest
✔️ testGetOrderHistoryByOrderId
✔️ getCurrentUserPointsByOrderId
✔️ updatesRecipientsInfoWithOutUser
✔️ checkIfCertificateAvailable
✔️ getAllLocationsTest
✔️ getUBSusers
✔️ getAllActiveCouriersTest
✔️ receivePaymentFromMonoBankTest
✔️ getsCancellationReason
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[1]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[2]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[3]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[4]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[5]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[6]
✔️ processPaidOrderIdWithUnacceptableOrderStatusesTest{OrderStatus}[7]
✔️ checkIfTariffExistsByIdTest
✔️ processOrder
✔️ getAllLocationsByCourierIdTest

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

57 tests were completed in 763ms with 57 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
greencity.controller.SuperAdminControllerTest 57✔️ 763ms

✔️ greencity.controller.SuperAdminControllerTest

✔️ getAllTariffsInfoTest
✔️ getServiceDto
✔️ getTariffService
✔️ getTariffLimitsThrowNotFoundException
✔️ getTariffServiceIfTariffNotFoundException
✔️ editTariffThrowNotFoundException
✔️ deleteServiceIfServiceNotFoundException
✔️ getServiceIfServiceNotExists
✔️ updateCourierTest
✔️ createCourierIfCourierAlreadyExistsException
✔️ activateException
✔️ deleteLocationTest
✔️ createTariffServiceTest
✔️ addNewTariffTest
✔️ getActiveLocations
✔️ getLocations
✔️ deleteTariffService
✔️ switchActivationStatusByChosenParamsBadRequest
✔️ switchTariffStatusThrowBadRequestException
✔️ getTariffLimitsTest
✔️ getAllCouriers
✔️ getAllReceivingStation
✔️ deleteReceivingStation
✔️ switchTariffStatus
✔️ editServiceIfServiceNotFoundException
✔️ updateReceivingStation
✔️ getDeactivatedLocationsTest
✔️ editTariffTest
✔️ editService
✔️ deactivateTariffFotChosenParam
✔️ switchTariffStatusThrowNotFoundException
✔️ setLimitsForTariffTest
✔️ createService
✔️ getActiveLocationsNotFoundTest
✔️ editTariffThrowTariffAlreadyExistsException
✔️ createCourierTest
✔️ deactivateCourier
✔️ createServiceIfServiceAlreadyExistsException
✔️ editTariffService
✔️ addLocationInterceptLocationAlreadyCreatedException
✔️ createServiceIfEmployeeNotFoundException
✔️ deleteTariffServiceNotFoundException
✔️ addLocation
✔️ setLimitsForTariffThrowNotFoundException
✔️ editServiceIfEmployeeNotFoundException
✔️ getServiceIfTariffNotFoundException
✔️ addNewTariffIfTariffAlreadyExistsException
✔️ getDeactivatedLocationsNotFoundTest
✔️ createServiceIfTariffNotFoundException
✔️ createTariffServiceNotFoundException
✔️ activateTariffFotChosenParam
✔️ editTariffThrowBadRequestException
✔️ deleteService
✔️ checkIfTariffExistsTest
✔️ editTariffServiceNotFoundException
✔️ createReceivingStation
✔️ setLimitsForTariffThrowBadRequestException

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

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

Test suite Passed Failed Skipped Time
greencity.controller.UserAgreementControllerTest 5✔️ 125ms

✔️ greencity.controller.UserAgreementControllerTest

✔️ deleteUserAgreement
✔️ getAllUserAgreementsIds
✔️ createUserAgreement
✔️ getAgreementByIdTest
✔️ getLatestUserAgreementTest

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

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

Test suite Passed Failed Skipped Time
greencity.controller.UserProfileControllerTest 4✔️ 40ms

✔️ greencity.controller.UserProfileControllerTest

✔️ getProfileData
✔️ saveUserDate
✔️ createUserProfile
✔️ deactivateUser

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

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

Test suite Passed Failed Skipped Time
greencity.controller.ViberControllerTest 3✔️ 106ms

✔️ greencity.controller.ViberControllerTest

✔️ setWebHookTest
✔️ removeWebHookTest
✔️ getAccountInfoTest

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

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

Test suite Passed Failed Skipped Time
greencity.exception.handler.CustomExceptionHandlerTest 10✔️ 3s

✔️ greencity.exception.handler.CustomExceptionHandlerTest

✔️ handleBadRequestExceptionTest
✔️ handleTariffAlreadyExistsExceptionTest
✔️ handleRemoteServerUnavailableExceptionTest
✔️ handleAddressNotWithinLocationAreaExceptionTest
✔️ handleMethodArgumentNotValidTest
✔️ handleNotFoundExceptionTest
✔️ handleHttpMessageNotReadableTest
✔️ handleAccessDeniedExceptionTest
✔️ handleUnprocessableEntityExceptionTest
✔️ handleEntityNotFoundExceptionTest

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

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

Test suite Passed Failed Skipped Time
greencity.exception.handler.RetrieveMessageErrorDecoderTest 5✔️ 130ms

✔️ greencity.exception.handler.RetrieveMessageErrorDecoderTest

✔️ decodeThrowsRemoteServerUnavailableExceptionTest
✔️ decodeThrowsBadRequestExceptionTest
✔️ decodeThrowsAccessDeniedExceptionTest
✔️ decodeThrowsIOExceptionTest
✔️ decodeThrowsNotFoundExceptionTest

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

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

Test suite Passed Failed Skipped Time
greencity.repository.BigOrderTableRepositoryTest 35✔️ 45s

✔️ greencity.repository.BigOrderTableRepositoryTest

✔️ get_All_Orders_Filter_By_RegionId_And_CityId_And_DistrictId
✔️ get_All_Orders_Filter_By_Receiving_Station_DESC
✔️ get_All_Orders_Filter_By_Order_Date_Greater_Then_Or_Equal_DESC
✔️ get_All_Orders_Filter_By_Order_Status_Is_Formed_And_CONFIRMED_DESC
✔️ get_All_Orders_Filter_By_Responsible_Driver_ASC
✔️ get_All_Orders_Page_Sorting_By_Order_Payment_Status_DESC
✔️ get_All_Orders_Filter_By_Region_DESC
✔️ get_All_Orders_Filter_By_City_DESC
✔️ get_All_Orders_Sort_By_OrderStatus_UA_Localization_DESC
✔️ get_All_Orders_Filter_By_Responsible_Logic_Man_ASC
✔️ get_All_Orders_Sort_By_OrderStatus_UA_Localization_ASC
✔️ get_All_Orders_Search_by_Client_Name_DESC
✔️ get_All_Orders_Size_Two_Page_One_DESC
✔️ get_All_Orders_Filter_By_Order_Date_Between_DESC
✔️ get_All_Orders_Filter_By_Districts_DESC
✔️ get_All_Orders_Sort_By_OrderPaymentStatus_UA_Localization_ASC
✔️ get_All_Orders_Filter_By_Responsible_Caller_ASC
✔️ get_All_Orders_PageImpl_Total_Elements_ASC
✔️ get_All_Orders_Filter_By_Payment_Date_Between
✔️ get_All_Orders_Sort_By_OrderPaymentStatus_UA_Localization_DESC
✔️ get_All_Orders_PageImpl_Number_ASC
✔️ get_All_Orders_Filter_By_Payment_Status_Is_PAID_DESC
✔️ get_All_Orders_PageImpl_ASC
✔️ get_All_Orders_Filter_By_Date_Of_Export_Between_DESC
✔️ get_All_Orders_Search_by_phone_DESC
✔️ is_ModelUtil_Data_Equal_SQL
✔️ get_All_Orders_Filter_By_Order_Date_Less_Then_Or_Equal_DESC
✔️ get_All_Orders_Combination_Filter_DESC
✔️ get_All_Orders_PageImpl_Number_Of_Elements_ASC
✔️ get_All_Orders_Default_Page_ASC
✔️ get_All_Orders_PageImpl_Size_ASC
✔️ get_All_Orders_Filter_By_Responsible_Navigator_DESC
✔️ get_All_Orders_Filter_By_Order_Status_Is_Formed_DESC
✔️ get_All_Orders_Combination_Filter_ASC
✔️ get_All_Orders_Default_Page_DESC

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

3 tests were completed in 161ms with 1 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
greencity.security.filters.AccessTokenAuthenticationFilterTest 1✔️ 2✖️ 161ms

✔️ greencity.security.filters.AccessTokenAuthenticationFilterTest

✖️ doFilterInternalTest
✔️ doFilterInternalTokenHasExpiredTest
✖️ doFilterInternalAccessDeniedTest

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

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

Test suite Passed Failed Skipped Time
greencity.security.PreAuthorizerTest 2✔️ 49ms

✔️ greencity.security.PreAuthorizerTest

✔️ testHasAuthorityWithValidAuthorityShouldReturnTrue
✔️ testHasAuthorityWithInvalidAuthorityShouldReturnFalse

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

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

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

✔️ greencity.security.providers.JwtAuthenticationProviderTest

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

✔️ core/target/surefire-reports/TEST-greencity.validators.AddressValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validators.AddressValidatorTest 7✔️ 30ms

✔️ greencity.validators.AddressValidatorTest

✔️ testIsValidWhenNotFoundExceptionOccursShouldReturnFalse
✔️ testIsValidWhenGoogleServiceReturnsNullShouldReturnFalse
✔️ testWhenPlaceIdIsNullShouldReturnFalse
✔️ testIsValidWhenCoordinatesDoNotMatchShouldReturnFalse
✔️ testIsValidWhenCityDoesNotMatchShouldReturnFalse
✔️ testIsValidWhenAllConditionsAreMetShouldReturnTrue
✔️ testIsValidWhenGoogleApiExceptionOccursShouldReturnFalse

✔️ core/target/surefire-reports/TEST-greencity.validators.UpdateAddressValidatorTest.xml

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

Test suite Passed Failed Skipped Time
greencity.validators.UpdateAddressValidatorTest 5✔️ 148ms

✔️ greencity.validators.UpdateAddressValidatorTest

✔️ testIsValidWhenNotFoundExceptionOccursShouldReturnFalse
✔️ testIsValidWhenGoogleServiceReturnsNullShouldReturnFalse
✔️ testIsValidWhenAllConditionsAreMetShouldReturnTrue
✔️ testIsValidWhenGoogleApiExceptionOccursShouldReturnFalse
✔️ testWithInvalidCoordinatesShouldReturnFalse