Replies: 1 comment
-
|
A quick workaround is to override
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
Context
I would like to use testcontainer to test my UserStorage provider based on this one.
My provider uses postgresql database defined in
src/main/resources/META-INF/persistence.xmlfile :My keycloak container is configured like this:
Issue
KeycloakContainer takes persistence configuration from
src/main/resources/META-INF/persistence.xmlfile.(More exactly
target/classes/META-INF/persistence.xml)There are any way to change this file for
src/test/resources/META-INF/h2-persistence.xml?Maybe using ShrinkWrap 🤔 but I don't know if this is possible
Beta Was this translation helpful? Give feedback.
All reactions