Further alignment of RestTestClient and WebTestClient

See gh-34428
This commit is contained in:
rstoyanchev
2025-07-30 07:13:48 +01:00
parent 2732b603dc
commit 34f259778e
16 changed files with 269 additions and 196 deletions
@@ -133,7 +133,7 @@ class RestTestClientTests {
@Test
void test() {
RestTestClientTests.this.client.mutate()
.apply(builder -> builder.defaultHeader("foo", "bar"))
.defaultHeader("foo", "bar")
.uriBuilderFactory(new DefaultUriBuilderFactory("/test"))
.defaultCookie("foo", "bar")
.defaultCookies(cookies -> cookies.add("a", "b"))