I'm developing a Quarkus app with Keycloak for OIDC (OpenID Connect). During development, the app is running at
localhost:8080 while Keycloak is running locally as well using Docker.
This is working fine.
Now I want to create some tests. https://quarkus.io/guides/security-openid-connect#wiremock told me to update
application.properties as follows:
My question: How do I set that value only for testing. I don't want to keep toggling the values by commenting/uncommenting. If it's dictated by profile, what profiles to use?
Create an application properties file in the test resource folder. It will be used only for tests: