Skip to content

Commit

Permalink
CIRC-2117: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksat-Galymzhan committed Jul 17, 2024
1 parent e1b076a commit e16908b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/api/ItemsByInstanceResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e16908b

Please sign in to comment.