From e16908b0f8c4933e0cebe07675aeb30abb86c197 Mon Sep 17 00:00:00 2001 From: Maksat-Galymzhan Date: Wed, 17 Jul 2024 15:27:13 +0500 Subject: [PATCH] CIRC-2117: refactoring --- src/test/java/api/ItemsByInstanceResourceTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/api/ItemsByInstanceResourceTest.java b/src/test/java/api/ItemsByInstanceResourceTest.java index 9d304821e0..45b513820d 100644 --- a/src/test/java/api/ItemsByInstanceResourceTest.java +++ b/src/test/java/api/ItemsByInstanceResourceTest.java @@ -15,7 +15,6 @@ import org.folio.circulation.support.http.client.Response; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.Assertions; import api.support.APITests; import api.support.builders.SearchInstanceBuilder; @@ -107,7 +106,7 @@ void canGetEmptyResult() { Response response = get(String.format("query=(id==%s)", instanceId), 200); JsonObject responseJson = response.getJson(); - Assertions.assertTrue(responseJson.isEmpty()); + assertThat(responseJson.isEmpty(), is(true)); } private Response get(String query, int expectedStatusCode) {