@@ -19,12 +19,6 @@ public class WebTestClientTests {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private WebTestClient client;
|
private WebTestClient client;
|
||||||
|
|
||||||
@Test
|
|
||||||
public void words() {
|
|
||||||
client.get().uri("/words").exchange()
|
|
||||||
.expectStatus().isOk().expectBody(String.class).isEqualTo("[\"foo\",\"bar\"]");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void uppercase() {
|
public void uppercase() {
|
||||||
client.post().uri("/uppercase").body(Mono.just("foo"), String.class).exchange()
|
client.post().uri("/uppercase").body(Mono.just("foo"), String.class).exchange()
|
||||||
|
|||||||
Reference in New Issue
Block a user