mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 15:49:26 +00:00
Further alignment of RestTestClient and WebTestClient
See gh-34428
This commit is contained in:
+1
-1
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user