Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix property source ordering in SpringBootTest
Update `SpringBootContextLoader` so that the active profiles property source has a unique name. Prior to this commit, the default name 'test' was used which could cause ordering issues if other `@PropertySource` values were added to it later. Fixes gh-28776
- Loading branch information
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters