From 33b15c2356b54152d358d9184cccd40951e0df5f Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Mon, 22 Jan 2024 18:25:41 +0100 Subject: [PATCH] tests: update integration test configuration --- src/main/resources/application.properties | 1 + src/test/java/io/github/onecx/permission/test/AbstractTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index be6abc5..75af060 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -47,6 +47,7 @@ quarkus.test.integration-test-profile=test %test.tkit.rs.context.tenant-id.mock.data.i100=i100 %test.quarkus.keycloak.devservices.roles.bob=n3 %test.smallrye.jwt.verify.key.location=${keycloak.url}/realms/quarkus/protocol/openid-connect/certs +%test.tkit.rs.context.token.header-param=apm-principal-token %test.tkit.dataimport.enabled=true %test.tkit.dataimport.configurations.permission.enabled=true diff --git a/src/test/java/io/github/onecx/permission/test/AbstractTest.java b/src/test/java/io/github/onecx/permission/test/AbstractTest.java index 0247d5c..60dee1b 100644 --- a/src/test/java/io/github/onecx/permission/test/AbstractTest.java +++ b/src/test/java/io/github/onecx/permission/test/AbstractTest.java @@ -31,7 +31,7 @@ public class AbstractTest { protected static final String APM_HEADER_PARAM = ConfigProvider.getConfig() - .getValue("tkit.rs.context.token.header-param", String.class); + .getValue("%test.tkit.rs.context.token.header-param", String.class); protected static final String CLAIMS_ORG_ID = ConfigProvider.getConfig() .getValue("%test.tkit.rs.context.tenant-id.mock.claim-org-id", String.class);