Skip to content

Commit 26ee915

Browse files
committed
Document WebFilter is scanned by @WebFluxTest
See gh-17601
1 parent 94a7571 commit 26ee915

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7495,9 +7495,9 @@ full end-to-end tests with an actual server>>.
74957495
To test that {spring-reference}/web-reactive.html[Spring WebFlux] controllers are
74967496
working as expected, you can use the `@WebFluxTest` annotation. `@WebFluxTest`
74977497
auto-configures the Spring WebFlux infrastructure and limits scanned beans to
7498-
`@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`, and
7499-
`WebFluxConfigurer`. Regular `@Component` beans are not scanned when the `@WebFluxTest`
7500-
annotation is used.
7498+
`@Controller`, `@ControllerAdvice`, `@JsonComponent`, `Converter`, `GenericConverter`,
7499+
`WebFilter`, and `WebFluxConfigurer`. Regular `@Component` beans are not scanned when the
7500+
`@WebFluxTest` annotation is used.
75017501

75027502
TIP: A list of the auto-configurations that are enabled by `@WebFluxTest` can be
75037503
<<appendix.adoc#test-auto-configuration,found in the appendix>>.

0 commit comments

Comments
 (0)