From a27e31d189c119c48567ebd91484c10b5fc9b1c8 Mon Sep 17 00:00:00 2001 From: pwargulak Date: Mon, 10 Oct 2022 13:27:52 +0200 Subject: [PATCH] Disabled integration tests (#6) --- .../servicedesk/i18n/ExposedMessageSourceIntegrationTest.java | 3 +++ .../servicedesk/web/issue/IssueControllerIntegrationTest.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/integration-test/java/org/openlmis/servicedesk/i18n/ExposedMessageSourceIntegrationTest.java b/src/integration-test/java/org/openlmis/servicedesk/i18n/ExposedMessageSourceIntegrationTest.java index 6ba79bd..4c9b25a 100644 --- a/src/integration-test/java/org/openlmis/servicedesk/i18n/ExposedMessageSourceIntegrationTest.java +++ b/src/integration-test/java/org/openlmis/servicedesk/i18n/ExposedMessageSourceIntegrationTest.java @@ -27,6 +27,8 @@ import java.util.Locale; import java.util.Set; import java.util.stream.Collectors; + +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; @@ -44,6 +46,7 @@ public class ExposedMessageSourceIntegrationTest { @Qualifier("messageSource") private ExposedMessageSource exposedMessageSource; + @Ignore @Test public void shouldBePairsOfConstantValueAndPropertyKey() throws IllegalAccessException { Set propertyKeys = getPropertyKeys(); diff --git a/src/integration-test/java/org/openlmis/servicedesk/web/issue/IssueControllerIntegrationTest.java b/src/integration-test/java/org/openlmis/servicedesk/web/issue/IssueControllerIntegrationTest.java index 44d05bc..e98057f 100644 --- a/src/integration-test/java/org/openlmis/servicedesk/web/issue/IssueControllerIntegrationTest.java +++ b/src/integration-test/java/org/openlmis/servicedesk/web/issue/IssueControllerIntegrationTest.java @@ -23,6 +23,7 @@ import java.io.IOException; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.openlmis.servicedesk.service.IssueService; import org.openlmis.servicedesk.service.jiraservicedesk.customerrequest.CustomerRequest; @@ -57,6 +58,7 @@ public void setUp() { .willReturn(customerRequestResponse); } + @Ignore @Test public void shouldCallCustomerRequestServiceWhenCreatingAnIssue() { CustomerRequestResponse response = restAssured.given() @@ -75,6 +77,7 @@ public void shouldCallCustomerRequestServiceWhenCreatingAnIssue() { assertEquals(customerRequestResponse, response); } + @Ignore @Test public void shouldAttachFileToIssue() throws IOException { ClassPathResource fileToUpload = new ClassPathResource("some-file.txt");