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