revert test parameters

This commit is contained in:
Paulo Graça
2019-11-25 16:08:44 +00:00
parent f7e1bf6896
commit b1e16c71fa

View File

@@ -74,7 +74,7 @@ public class MetadatafieldRestRepositoryIT extends AbstractControllerIntegration
context.restoreAuthSystemState();
getClient().perform(get("/api/core/metadatafields")
.param("size", String.valueOf(110)))
.param("size", String.valueOf(100)))
.andExpect(status().isOk())
.andExpect(content().contentType(contentType))
.andExpect(jsonPath("$._embedded.metadatafields", Matchers.hasItems(
@@ -86,7 +86,7 @@ public class MetadatafieldRestRepositoryIT extends AbstractControllerIntegration
.andExpect(jsonPath("$._links.next.href", Matchers.containsString("/api/core/metadatafields")))
.andExpect(jsonPath("$._links.last.href", Matchers.containsString("/api/core/metadatafields")))
.andExpect(jsonPath("$.page.size", is(110)));
.andExpect(jsonPath("$.page.size", is(100)));
}
@Test