mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-28 06:42:29 +00:00
parent
3fd2fb4d54
commit
9a83888c6e
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user