From 5c3856e5b42905160ed91fcf74089e1985b764f9 Mon Sep 17 00:00:00 2001 From: rmueller Date: Mon, 25 Mar 2024 09:35:05 +0100 Subject: [PATCH] ignore test --- .../integrationtesting/tests/AqlControllerIT.java | 10 ---------- .../integrationtesting/tests/CohortControllerIT.java | 1 - 2 files changed, 11 deletions(-) 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(