Update WebTestClient builder

This commit is contained in:
Rossen Stoyanchev
2017-02-15 20:10:47 -05:00
parent f98ea11e5e
commit 285ba7d391
5 changed files with 65 additions and 158 deletions

View File

@@ -40,7 +40,7 @@ public class HeaderTests {
public void setUp() throws Exception {
this.client = WebTestClient
.bindToController(new TestController())
.webClientSpec().baseUrl("/header")
.configureClient().baseUrl("/header")
.build();
}