From 6f484dfa1d07e4445df8eb7ed76779b3f0b5c0fb Mon Sep 17 00:00:00 2001 From: Jorden_Reuter Date: Fri, 27 Sep 2024 14:04:39 +0200 Subject: [PATCH] fix: change assertion --- .../rs/internal/controllers/BookmarkRestControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/tkit/onecx/bookmark/rs/internal/controllers/BookmarkRestControllerTest.java b/src/test/java/org/tkit/onecx/bookmark/rs/internal/controllers/BookmarkRestControllerTest.java index 77a5c12..9be55cb 100644 --- a/src/test/java/org/tkit/onecx/bookmark/rs/internal/controllers/BookmarkRestControllerTest.java +++ b/src/test/java/org/tkit/onecx/bookmark/rs/internal/controllers/BookmarkRestControllerTest.java @@ -167,7 +167,7 @@ void searchBookmarksByCriteria() { .then() .statusCode(OK.getStatusCode()) .extract().as(BookmarkPageResultDTO.class); - assertThat(data.getStream().isEmpty()).isTrue(); + assertThat(data.getStream().toArray()).isEmpty(); bookmarkSearchCriteriaDTO.setScope("PRIVATE"); data = given()