diff --git a/pom.xml b/pom.xml index 0a27522387..f48f37c6eb 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ SPDX-License-Identifier: Apache-2.0 7.17.0 5.10.2 4.2.1 - 2.0.2-SNAPSHOT + 2.0.1 5.4.0 jacoco diff --git a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/notification/alert/ReadAlertsControllerIT.java b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/notification/alert/ReadAlertsControllerIT.java index 6a472071b4..c190e2b82a 100644 --- a/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/notification/alert/ReadAlertsControllerIT.java +++ b/tx-backend/src/test/java/org/eclipse/tractusx/traceability/integration/notification/alert/ReadAlertsControllerIT.java @@ -117,30 +117,6 @@ void givenAlerts_whenGetSenderAlertsSortedAsc_thenReturnProperlySorted() throws .body("content.description", Matchers.containsInRelativeOrder("1", "2", "3", "4", "5", "6", "7", "8")); } - @Test - void givenAlerts_whenGetSenderAlertsSortedDesc_thenReturnProperlySorted() throws JoseException { - // given - String filterString = "channel,EQUAL,SENDER,AND"; - String sortString = "createdDate,DESC"; - alertNotificationsSupport.defaultAlertsStored(); - - // then - given() - .header(oAuth2Support.jwtAuthorization(ADMIN)) - .body(new PageableFilterRequest(new OwnPageable(0, 10, List.of(sortString)), new SearchCriteriaRequestParam(List.of(filterString)))) - .contentType(ContentType.JSON) - .when() - .post("/api/notifications/filter") - .then() - .statusCode(200) - .body("page", Matchers.is(0)) - .body("pageSize", Matchers.is(10)) - .body("totalItems", Matchers.is(8)) - .body("content", Matchers.hasSize(8)) - .body("content.description", Matchers.containsInRelativeOrder("8", "7", "6", "5", "4", "3", "2", "1")); - } - - @Test void givenSortByDescriptionProvided_whenGetInvestigations_thenReturnInvestigationsProperlySorted() throws JoseException { // given