Fix WebClientTest calls

Update calls to WebClientTest following upstream changes.
This commit is contained in:
Phillip Webb
2017-04-14 16:26:01 -07:00
parent bcd79dd992
commit 700f0ea93c
5 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ public class SampleWebFluxApplicationTests {
@Test
public void testWelcome() throws Exception {
this.webClient.get().uri("/").accept(MediaType.TEXT_PLAIN).exchange()
.expectBody(String.class).value().isEqualTo("Hello World");
.expectBody(String.class).isEqualTo("Hello World");
}
}