diff --git a/dspace-spring-rest/src/test/java/org/dspace/app/rest/SubmissionDefinitionsControllerIT.java b/dspace-spring-rest/src/test/java/org/dspace/app/rest/SubmissionDefinitionsControllerIT.java index 13d26abd53..dbdacf294d 100644 --- a/dspace-spring-rest/src/test/java/org/dspace/app/rest/SubmissionDefinitionsControllerIT.java +++ b/dspace-spring-rest/src/test/java/org/dspace/app/rest/SubmissionDefinitionsControllerIT.java @@ -95,8 +95,11 @@ public class SubmissionDefinitionsControllerIT extends AbstractControllerIntegra public void findCollections() throws Exception { //Match only that a section exists with a submission configuration behind getClient().perform(get("/api/config/submissiondefinitions/traditional/collections")) - //Does this status change make sense? + //TODO - this method should return an empty page .andExpect(status().isNoContent()); + //this is the expected result + //.andExpect(status().isOk()) + //.andExpect(jsonPath("$.page.totalElements", is(0))); } @Test