diff --git a/dspace-server-webapp/src/test/java/org/dspace/app/rest/ItemRestRepositoryIT.java b/dspace-server-webapp/src/test/java/org/dspace/app/rest/ItemRestRepositoryIT.java index 361920a01bc3..46d0bc062cfe 100644 --- a/dspace-server-webapp/src/test/java/org/dspace/app/rest/ItemRestRepositoryIT.java +++ b/dspace-server-webapp/src/test/java/org/dspace/app/rest/ItemRestRepositoryIT.java @@ -41,7 +41,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.Objects; import java.util.UUID; import java.util.concurrent.atomic.AtomicReference; import javax.ws.rs.core.MediaType; @@ -51,8 +50,6 @@ import org.apache.commons.lang3.CharEncoding; import org.dspace.app.rest.matcher.BitstreamMatcher; import org.dspace.app.rest.matcher.BundleMatcher; -import org.dspace.app.rest.matcher.ClarinLicenseLabelMatcher; -import org.dspace.app.rest.matcher.ClarinLicenseMatcher; import org.dspace.app.rest.matcher.CollectionMatcher; import org.dspace.app.rest.matcher.HalMatcher; import org.dspace.app.rest.matcher.ItemMatcher; @@ -4793,8 +4790,6 @@ public void searchByHandle() throws Exception { .withSubject("ExtraEntry") .build(); context.restoreAuthSystemState(); - Matcher publicItem1Matcher = ItemMatcher.matchItemWithTitleAndDateIssued(publicItem1, - "Public item 1", "2017-10-17"); String handlePrefix = configurationService.getProperty("handle.canonical.prefix"); String fullHandleIdentifier = handlePrefix + publicItem1.getHandle();