Warn against using multi-document files with TestPropertySource

Closes gh-24945
pull/25507/head
Madhura Bhave 4 years ago
parent cfac223cff
commit ae630e03ce

@ -942,6 +942,8 @@ The lines immediately before and after the separator must not be comments.
TIP: Multi-document property files are often used in conjunction with activation properties such as `spring.config.activate.on-profile`.
See the <<boot-features-external-config-file-activation-properties, next section>> for details.
WARNING: Multi-document property files cannot be loaded by using the `@PropertySource` or `@TestPropertySource` annotations.
[[boot-features-external-config-file-activation-properties]]

Loading…
Cancel
Save