File tree 1 file changed +3
-3
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6534,9 +6534,9 @@ example shows a class that uses both `@WebFluxTest` and a `WebTestClient`:
6534
6534
A list of the auto-configuration that is enabled by `@WebFluxTest` can be
6535
6535
<<appendix-test-auto-configuration#test-auto-configuration,found in the appendix>>.
6536
6536
6537
- NOTE: `@WebFluxTest` cannot be used for testing routes registered via the functional
6538
- web framework. For testing `RouterFunction` beans in the context, consider using
6539
- `@SpringBootTest`.
6537
+ NOTE: `@WebFluxTest` cannot detect routes registered via the functional web framework. For
6538
+ testing `RouterFunction` beans in the context, consider importing your `RouterFunction`
6539
+ yourself via `@Import` or using `@SpringBootTest`.
6540
6540
6541
6541
TIP: Sometimes writing Spring WebFlux tests is not enough; Spring Boot can help you run
6542
6542
<<boot-features-testing-spring-boot-applications-testing-with-running-server,
You can’t perform that action at this time.
0 commit comments