1
0
mirror of synced 2026-05-22 20:23:18 +00:00

Adopt to changes in Spring Framework 7.

See #3038
This commit is contained in:
Mark Paluch
2025-01-08 15:11:09 +01:00
committed by Jens Schauder
parent 9cf060b396
commit ea66638f50
@@ -78,7 +78,8 @@ class HttpHeadersTest {
springHttpHeaders.add(headerName, "true");
var httpHeaders = new HttpHeaders();
httpHeaders.addAll(springHttpHeaders);
springHttpHeaders.forEach(httpHeaders::addAll);
assertThat(httpHeaders.get(X_TEST_HEADER)).containsExactly("foo", "bar");
assertThat(httpHeaders.get(headerName)).containsExactly("true");