Fix broken links in Testing chapter

This commit is contained in:
Sam Brannen
2018-09-21 14:45:25 +02:00
parent 2a6da6a623
commit f7263abbf0
2 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
[[webtestclient]]
= WebTestClient
`WebTestClient` is a thin shell around <<web-reactive.adoc#webflux-webclient, WebClient>>,
`WebTestClient` is a thin shell around <<web-reactive.adoc#webflux-client, WebClient>>,
using it to perform requests and exposing a dedicated, fluent API for verifying responses.
`WebTestClient` binds to a WebFlux application by using a
<<testing.adoc#mock-objects-web-reactive,mock request and response>>, or it can test any
@@ -140,9 +140,9 @@ are readily available following `bindToServer`. For all others, you need to use
[[webtestclient-tests]]
== Writing Tests
`WebTestClient` is a thin shell around <<web-reactive.adoc#webflux-webclient,WebClient>>.
It provides an identical API up to the point of performing a request by using `exchange()`.
What follows after `exchange()` is a chained API workflow to verify responses.
`WebTestClient` provides an API identical to <<web-reactive.adoc#webflux-client,WebClient>>
up to the point of performing a request by using `exchange()`. What follows after
`exchange()` is a chained API workflow to verify responses.
Typically, you start by asserting the response status and headers, as follows: