From 26ee9150b2e7ad18d310c8a07da63078b6876fc6 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 23 Jul 2019 09:01:32 +0200 Subject: [PATCH] Document WebFilter is scanned by @WebFluxTest See gh-17601 --- .../src/main/asciidoc/spring-boot-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index f529c6dec7f..a76f831fecd 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -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 working as expected, you can use the `@WebFluxTest` annotation. `@WebFluxTest` auto-configures the Spring WebFlux infrastructure and limits scanned beans to -`@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, and -`WebFluxConfigurer`. Regular `@Component` beans are not scanned when the `@WebFluxTest` -annotation is used. +`@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, +`WebFilter`, and `WebFluxConfigurer`. Regular `@Component` beans are not scanned when the +`@WebFluxTest` annotation is used. TIP: A list of the auto-configurations that are enabled by `@WebFluxTest` can be <>.