spring-boot/spring-boot-project
Andy Wilkinson 8f1b8622ba Ensure that webEnvironment=NONE creates non-web context
Previously, if spring.main.web-application-type was configured in
application.properties to servlet or reactive, setting
webEnvironment=NONE on @SpringBootTest would not work correctly and
a servlet or reactive web application context would be created
based on the value of spring.main.web-application-type.

This commit updates the test context bootstapper to set
spring.main.web-application-type to none when webEnvironment has been
set to none. This is done in the merged context configuration's
property source properties which are applied to the environment in a
high-precedence test property source that will override configuration
in application.properties.

Closes gh-29695
2022-04-14 14:44:30 +01:00
..
spring-boot Polish "Fix NPE in configprops endpoint" 2022-04-07 19:44:06 +01:00
spring-boot-actuator Polish "Fix NPE in configprops endpoint" 2022-04-07 19:44:06 +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 Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
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 Upgrade to Testcontainers 1.16.2 2022-01-12 13:52:43 -08:00
spring-boot-properties-migrator
spring-boot-starters Update URL for GraphQL Spring Boot starter 2021-11-16 08:33:56 +01:00
spring-boot-test Ensure that webEnvironment=NONE creates non-web context 2022-04-14 14:44:30 +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