Clarify the WebTestClient requires WebFlux on the classpath

Closes gh-13469
This commit is contained in:
Stephane Nicoll 2018-07-17 14:06:41 +02:00
parent d6c7eff8f7
commit e679690a74
1 changed files with 1 additions and 0 deletions

View File

@ -6254,6 +6254,7 @@ responses, as shown in the following example:
include::{code-examples}/test/web/RandomPortWebTestClientExampleTests.java[tag=test-random-port]
----
This setup requires `spring-webflux` on the classpath. If you can't or won't add webflux,
Spring Boot also provides a `TestRestTemplate` facility:
[source,java,indent=0]