You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ju...@apache.org on 2025/05/02 19:26:56 UTC

(tomee) branch main updated: fix test in openid example

This is an automated email from the ASF dual-hosted git repository.

jungm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new b6169cd2fa fix test in openid example
b6169cd2fa is described below

commit b6169cd2faa8e7fe81fbf6048eb89237c7c44dfa
Author: Markus Jung <ju...@apache.org>
AuthorDate: Fri May 2 21:25:32 2025 +0200

    fix test in openid example
---
 .../src/test/java/org/superbiz/openid/SecuredServletTest.java           | 2 +-
 .../src/test/resources/{keycloak-realm.json => tomee-realm.json}        | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/security-openid/src/test/java/org/superbiz/openid/SecuredServletTest.java b/examples/security-openid/src/test/java/org/superbiz/openid/SecuredServletTest.java
index 848b4ef959..c12f05869b 100644
--- a/examples/security-openid/src/test/java/org/superbiz/openid/SecuredServletTest.java
+++ b/examples/security-openid/src/test/java/org/superbiz/openid/SecuredServletTest.java
@@ -43,7 +43,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 public class SecuredServletTest {
     @Container
     private static final KeycloakContainer KEYCLOAK_CONTAINER = new KeycloakContainer()
-            .withRealmImportFile("keycloak-realm.json");
+            .withRealmImportFile("tomee-realm.json");
 
     @Deployment(testable = false)
     public static WebArchive createDeployment() {
diff --git a/examples/security-openid/src/test/resources/keycloak-realm.json b/examples/security-openid/src/test/resources/tomee-realm.json
similarity index 100%
rename from examples/security-openid/src/test/resources/keycloak-realm.json
rename to examples/security-openid/src/test/resources/tomee-realm.json