Merge branch '6.1.x'
This commit is contained in:
commit
512ff7ce3c
|
@ -672,13 +672,13 @@ Kotlin::
|
||||||
val result = client.get().uri("/persons/1")
|
val result = client.get().uri("/persons/1")
|
||||||
.exchange()
|
.exchange()
|
||||||
.expectStatus().isOk()
|
.expectStatus().isOk()
|
||||||
.expectBody(Person.class)
|
.expectBody(Person::class.java)
|
||||||
.returnResult();
|
.returnResult()
|
||||||
|
|
||||||
// For a response without a body
|
// For a response without a body
|
||||||
val result = client.get().uri("/path")
|
val result = client.get().uri("/path")
|
||||||
.exchange()
|
.exchange()
|
||||||
.expectBody().isEmpty();
|
.expectBody().isEmpty()
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue