Skip to content

Commit 3b0cc28

Browse files
committed
Restore section id's in RestTestClient docs
Recent commit a23c37 changed those due to a change in the structure, but there is no need, and it is better to not break existing links. See gh-35701
1 parent 02e928e commit 3b0cc28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/testing/resttestclient.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Kotlin::
250250
You can then choose to decode the response body through one of the following:
251251

252252
* `expectBody(Class<T>)`: Decode to single object.
253-
* `expectBody()`: Decode to `byte[]` for xref:testing/resttestclient.adoc#resttestclient-workflow-json[JSON Content] or an empty body.
253+
* `expectBody()`: Decode to `byte[]` for xref:testing/resttestclient.adoc#resttestclient-json[JSON Content] or an empty body.
254254

255255

256256
If the built-in assertions are insufficient, you can consume the object instead and
@@ -317,7 +317,7 @@ that accept {spring-framework-api}/core/ParameterizedTypeReference.html[`Paramet
317317
instead of `Class<T>`.
318318

319319

320-
[[resttestclient-workflow-no-content]]
320+
[[resttestclient-no-content]]
321321
==== No Content
322322

323323
If the response is not expected to have content, you can assert that as follows:
@@ -373,7 +373,7 @@ Kotlin::
373373
======
374374

375375

376-
[[resttestclient-workflow-json]]
376+
[[resttestclient-json]]
377377
==== JSON Content
378378

379379
You can use `expectBody()` without a target type to perform assertions on the raw

0 commit comments

Comments
 (0)