diff --git a/src/test/java/org/folio/inventory/dataimport/handlers/actions/ReplaceInstanceEventHandlerTest.java b/src/test/java/org/folio/inventory/dataimport/handlers/actions/ReplaceInstanceEventHandlerTest.java index 568067c89..0e55ab79b 100644 --- a/src/test/java/org/folio/inventory/dataimport/handlers/actions/ReplaceInstanceEventHandlerTest.java +++ b/src/test/java/org/folio/inventory/dataimport/handlers/actions/ReplaceInstanceEventHandlerTest.java @@ -15,7 +15,6 @@ import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.ext.web.client.HttpResponse; -import io.vertx.ext.web.client.impl.HttpResponseImpl; import org.apache.http.HttpStatus; import org.folio.ActionProfile; import org.folio.DataImportEventPayload; diff --git a/src/test/java/org/folio/inventory/instanceingress/handler/CreateInstanceIngressEventHandlerUnitTest.java b/src/test/java/org/folio/inventory/instanceingress/handler/CreateInstanceIngressEventHandlerUnitTest.java index f626a6d1c..bbe666968 100644 --- a/src/test/java/org/folio/inventory/instanceingress/handler/CreateInstanceIngressEventHandlerUnitTest.java +++ b/src/test/java/org/folio/inventory/instanceingress/handler/CreateInstanceIngressEventHandlerUnitTest.java @@ -87,7 +87,7 @@ public class CreateInstanceIngressEventHandlerUnitTest { private CreateInstanceIngressEventHandler handler; @Before - public void setUp() throws Exception { + public void setUp() { doReturn("tenant").when(context).getTenantId(); doReturn("okapiUrl").when(context).getOkapiLocation(); doReturn("token").when(context).getToken();