From 12faafa9ae5672d7b7febe770a18744e372123be Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 9 Jan 2023 11:17:31 +0100 Subject: [PATCH] Fix tests. Use only test properties to avoid local config interference. See #21 --- .../data/release/AbstractIntegrationTests.java | 2 +- src/test/resources/application-test.properties | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/test/java/org/springframework/data/release/AbstractIntegrationTests.java b/src/test/java/org/springframework/data/release/AbstractIntegrationTests.java index 9f47e37..df83ad8 100644 --- a/src/test/java/org/springframework/data/release/AbstractIntegrationTests.java +++ b/src/test/java/org/springframework/data/release/AbstractIntegrationTests.java @@ -21,6 +21,6 @@ import org.springframework.test.context.ActiveProfiles; /** * @author Oliver Gierke */ -@ActiveProfiles({ "local", "test" }) +@ActiveProfiles({ "test" }) @SpringBootTest(classes = Application.class) public abstract class AbstractIntegrationTests {} diff --git a/src/test/resources/application-test.properties b/src/test/resources/application-test.properties index c1f540e..faa013c 100644 --- a/src/test/resources/application-test.properties +++ b/src/test/resources/application-test.properties @@ -5,12 +5,13 @@ logging.level.org.springframework.web.client=TRACE logging.level.org.springframework.http=DEBUG # Deployment deployment.repository-prefix=test- +deployment.api-key=foo maven.parallelize=false -jira.username=dummy -jira.password=dummy -jira.api-url=http://localhost:8888 +# Git git.username=dummy -git.passphrase=dummy +git.password=dummy git.email=dummy@dummy.com git.author=dummy github.api-url=http://localhost:8888 +#Sagan +sagan.key=foo