From eb9d2d1f497dd206dba1e247922338065653e1ca Mon Sep 17 00:00:00 2001 From: Terry W Brady Date: Tue, 15 May 2018 12:22:52 -0700 Subject: [PATCH] comment todo method --- .../dspace/app/rest/SubmissionDefinitionsControllerIT.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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