diff --git a/src/test/java/org/highmed/integrationtesting/tests/AqlControllerIT.java b/src/test/java/org/highmed/integrationtesting/tests/AqlControllerIT.java index a1bf64e0..d8c7722e 100644 --- a/src/test/java/org/highmed/integrationtesting/tests/AqlControllerIT.java +++ b/src/test/java/org/highmed/integrationtesting/tests/AqlControllerIT.java @@ -263,8 +263,6 @@ public void shouldRetrieveParameterValues() { .andExpect(status().isOk()) .andReturn(); - printResultInfos(result); - assertThat(result.getResponse().getStatus(), is(HttpStatus.OK.value())); assertThat( result.getResponse().getContentAsString(), containsString("\"type\":\"DV_QUANTITY\"")); @@ -352,14 +350,6 @@ public void shouldRetrieveParameterValues() { assertThat((String)dto.getOptions().get("male"),containsString("Male")); } - private static void printResultInfos(MvcResult result) throws UnsupportedEncodingException { - log.info("========= Failed Test Results: ========="); - log.info("Headers: {}", result.getResponse().getHeaderNames()); - log.info("Status: {}", result.getResponse().getStatus()); - log.info("Content: {}", result.getResponse().getContentAsString()); - log.info("Error: {}", result.getResponse().getErrorMessage()); - } - @Test @SneakyThrows @Ignore diff --git a/src/test/java/org/highmed/integrationtesting/tests/CohortControllerIT.java b/src/test/java/org/highmed/integrationtesting/tests/CohortControllerIT.java index c1590339..fdf1b540 100644 --- a/src/test/java/org/highmed/integrationtesting/tests/CohortControllerIT.java +++ b/src/test/java/org/highmed/integrationtesting/tests/CohortControllerIT.java @@ -107,7 +107,6 @@ public void shouldAccessCohortApiWithRightRole() { } @Test - @Ignore @SneakyThrows @Ignore @WithMockNumUser(