Commit 26ee9150 authored by Stephane Nicoll's avatar Stephane Nicoll

Document WebFilter is scanned by @WebFluxTest

See gh-17601
parent 94a75711
...@@ -7495,9 +7495,9 @@ full end-to-end tests with an actual server>>. ...@@ -7495,9 +7495,9 @@ full end-to-end tests with an actual server>>.
To test that {spring-reference}/web-reactive.html[Spring WebFlux] controllers are To test that {spring-reference}/web-reactive.html[Spring WebFlux] controllers are
working as expected, you can use the `@WebFluxTest` annotation. `@WebFluxTest` working as expected, you can use the `@WebFluxTest` annotation. `@WebFluxTest`
auto-configures the Spring WebFlux infrastructure and limits scanned beans to auto-configures the Spring WebFlux infrastructure and limits scanned beans to
`@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, and `@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`,
`WebFluxConfigurer`. Regular `@Component` beans are not scanned when the `@WebFluxTest` `WebFilter`, and `WebFluxConfigurer`. Regular `@Component` beans are not scanned when the
annotation is used. `@WebFluxTest` annotation is used.
TIP: A list of the auto-configurations that are enabled by `@WebFluxTest` can be TIP: A list of the auto-configurations that are enabled by `@WebFluxTest` can be
<<appendix.adoc#test-auto-configuration,found in the appendix>>. <<appendix.adoc#test-auto-configuration,found in the appendix>>.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment