From 0b46cfe7192de51899b2eecbafa19f3244f70e65 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 3 Dec 2024 05:57:13 +0100 Subject: [PATCH] add @ActiveProfiles("test") to HsOfficeScenarioTests --- .../hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java index b8f9d411..7c0f6d81 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java @@ -42,6 +42,7 @@ import org.junit.jupiter.api.TestMethodOrder; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.annotation.DirtiesContext; +import org.springframework.test.context.ActiveProfiles; @Tag("scenarioTest") @SpringBootTest( @@ -54,6 +55,7 @@ import org.springframework.test.annotation.DirtiesContext; "hsadminng.superuser=${HSADMINNG_SUPERUSER:superuser-alex@hostsharing.net}" } ) +@ActiveProfiles("test") @DirtiesContext @TestMethodOrder(MethodOrderer.OrderAnnotation.class) @ExtendWith(IgnoreOnFailureExtension.class)