Skip to content

Commit f3b77f5

Browse files
committed
Adopt to changes in Spring Framework 7.
See #2449
1 parent 004b0a7 commit f3b77f5

File tree

1 file changed

+1
-1
lines changed
  • spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support

1 file changed

+1
-1
lines changed

spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void doesNotAddHeaderForNoETag() {
135135

136136
HttpHeaders headers = ETag.NO_ETAG.addTo(new HttpHeaders());
137137

138-
assertThat(headers.containsKey("ETag")).isFalse();
138+
assertThat(headers.getFirst("ETag")).isNull();
139139
}
140140

141141
// tag::versioned-sample[]

0 commit comments

Comments
 (0)