mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Change SpringApplicationContextLoader to set active profiles using the `spring.profiles.active` environment property rather than calling `SpringApplication.setAdditionalProfiles`. This allows @ActiveProfiles to replace existing profiles rather than add to them which is consistent with the Spring TestContext Framework. Fixes gh-1469