From df7fbfec91130e5cbf7fc172862d38304613a9ea Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 3 Dec 2024 07:41:51 +0100 Subject: [PATCH] fix TestPackageControllerAcceptanceTest --- .../rbac/test/pac/TestPackageControllerAcceptanceTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/net/hostsharing/hsadminng/rbac/test/pac/TestPackageControllerAcceptanceTest.java b/src/test/java/net/hostsharing/hsadminng/rbac/test/pac/TestPackageControllerAcceptanceTest.java index cfd4008a..2ba2f086 100644 --- a/src/test/java/net/hostsharing/hsadminng/rbac/test/pac/TestPackageControllerAcceptanceTest.java +++ b/src/test/java/net/hostsharing/hsadminng/rbac/test/pac/TestPackageControllerAcceptanceTest.java @@ -4,6 +4,7 @@ import io.restassured.RestAssured; import io.restassured.http.ContentType; import net.hostsharing.hsadminng.HsadminNgApplication; import net.hostsharing.hsadminng.context.Context; +import net.hostsharing.hsadminng.test.DisableSecurityConfig; import org.apache.commons.lang3.RandomStringUtils; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @@ -23,7 +24,7 @@ import static org.hamcrest.Matchers.is; @SpringBootTest( webEnvironment = WebEnvironment.RANDOM_PORT, - classes = HsadminNgApplication.class + classes = { HsadminNgApplication.class, DisableSecurityConfig.class } ) @ActiveProfiles("test") @Transactional