Skip to content

Commit

Permalink
Merge pull request #1234 from catenax-ng/chore/xxx-release-versions
Browse files Browse the repository at this point in the history
chore(helm):783 update irs lib to release version
  • Loading branch information
ds-lcapellino authored May 8, 2024
2 parents b3981e7 + fbf6d6d commit e4751d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ SPDX-License-Identifier: Apache-2.0
<cucumber.version>7.17.0</cucumber.version>
<junit-bom.version>5.10.2</junit-bom.version>
<awaitility.version>4.2.1</awaitility.version>
<irs-client-lib.version>2.0.2-SNAPSHOT</irs-client-lib.version>
<irs-client-lib.version>2.0.1</irs-client-lib.version>
<json-schema-validator.version>5.4.0</json-schema-validator.version>
<!-- Sonar related properties -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4751d8

Please sign in to comment.