spring-boot/spring-boot-project
Andy Wilkinson c8de843d85 Honor final web application type when creating context in tests
Previously, SpringBootContextLoader would configure its
SpringApplication with an ApplicationContextFactory that ignores
the WebApplicationType with which its called and instead returns a
hard-coded type of context based on the type of the
MergedContextConfiguration. This hard-coding would result in the
wrong type of context being used if a subsequent change was made to
the application's WebApplicationType, for example due to binding of
the spring.main.web-application-type configuration property.

This commit updates SpringBootContextLoader to configure
SpringApplication with an ApplicationContextFactory that takes the
WebApplicationType with which it is called into consideration.

Fixes gh-29170
2022-04-14 12:26:07 +01:00
..
spring-boot Polish "Fix NPE in configprops endpoint" 2022-04-07 19:44:06 +01:00
spring-boot-actuator Sort entries in additional-spring-configuration metadata alphabetically 2022-03-25 14:54:39 +01:00
spring-boot-actuator-autoconfigure Fix language in WavefrontProperties 2022-04-13 14:59:48 +02:00
spring-boot-autoconfigure Polish "Remove assumptions about ordering when comparing JSON in tests" 2022-04-08 20:56:20 +01:00
spring-boot-cli
spring-boot-dependencies Upgrade to Spring Framework 5.3.19 2022-04-13 13:11:13 +02:00
spring-boot-devtools Sort entries in additional-spring-configuration metadata alphabetically 2022-03-25 14:54:39 +01:00
spring-boot-docs Move Jetty 9 specific exclusions to correct dependency 2022-04-07 20:41:42 +01:00
spring-boot-parent
spring-boot-properties-migrator
spring-boot-starters
spring-boot-test Honor final web application type when creating context in tests 2022-04-14 12:26:07 +01:00
spring-boot-test-autoconfigure Increase tests' Cassandra timeouts to 60s 2022-03-11 11:02:18 +00:00
spring-boot-tools Test Spring Boot Gradle Plugin against Gradle 7.4.2 2022-04-03 09:29:50 +02:00