Revert "78138: Turn off test line that fails in multiple PRs"

This reverts commit 38bcd1da77.
This commit is contained in:
Bruno Roemers
2021-04-01 10:19:41 +02:00
parent 38bcd1da77
commit c34aeb51d3

View File

@@ -289,8 +289,7 @@ public class MetadataSchemaRestRepositoryIT extends AbstractControllerIntegratio
.andExpect(jsonPath("$._links.last.href", Matchers.allOf(
Matchers.containsString("/api/core/metadataschemas?"),
Matchers.containsString("page=2"), Matchers.containsString("size=6"))))
// FIXME this is failing in multiple PRs and unrelated to the changes in this PR
// .andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalPages", is(3)))
.andExpect(jsonPath("$.page.size", is(6)));
@@ -315,8 +314,7 @@ public class MetadataSchemaRestRepositoryIT extends AbstractControllerIntegratio
.andExpect(jsonPath("$._links.last.href", Matchers.allOf(
Matchers.containsString("/api/core/metadataschemas?"),
Matchers.containsString("page=2"), Matchers.containsString("size=6"))))
// FIXME this is failing in multiple PRs and unrelated to the changes in this PR
// .andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalPages", is(3)))
.andExpect(jsonPath("$.page.size", is(6)));
@@ -338,8 +336,7 @@ public class MetadataSchemaRestRepositoryIT extends AbstractControllerIntegratio
.andExpect(jsonPath("$._links.last.href", Matchers.allOf(
Matchers.containsString("/api/core/metadataschemas?"),
Matchers.containsString("page=2"), Matchers.containsString("size=6"))))
// FIXME this is failing in multiple PRs and unrelated to the changes in this PR
// .andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalElements", is(16)))
.andExpect(jsonPath("$.page.totalPages", is(3)))
.andExpect(jsonPath("$.page.size", is(6)));