Skip to content

Conversation

@XcrigX
Copy link
Contributor

@XcrigX XcrigX commented Nov 6, 2025

PR 856 renamed the test property file from application.yaml to application-test.yaml , which inadvertently caused it to no longer be loaded in unit/integration tests.
see: #856

This PR adds @ActiveProfiles('test') to all existing tests to re-enable it.

This isn't strictly needed- as the tests were passing without the property file loaded, but I think it makes the project more flexible, especially for forks that may add additional functionality and need to override or add properties.

For example, forks that add springboot-security to the classpath will cause spring to autoconfigure security settings that break the existing tests. Having the application-test properties in place and loaded would allow those forks to disable this autoconfiguration on the existing tests.

@jkiddo jkiddo merged commit 9512ce1 into hapifhir:master Nov 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants