Spring Boot 4 introduced the @AutoConfigureWebTestClient Annotation.
Using this annotation prevents binding of the configuration property spring.test.webtestclient.timeout from other properties sources (application.properties, SpringBootTest.properties(), etc.).
It seems that the current default value "" prevents the org.springframework.boot.context.properties.bind.Binder to scan other properties sources, since the value is not null. I guess the default value should be {} instead of "".
Spring Boot 4 introduced the
@AutoConfigureWebTestClientAnnotation.Using this annotation prevents binding of the configuration property
spring.test.webtestclient.timeoutfrom other properties sources (application.properties,SpringBootTest.properties(), etc.).It seems that the current default value
""prevents theorg.springframework.boot.context.properties.bind.Binderto scan other properties sources, since the value is notnull. I guess the default value should be{}instead of"".