Skip to content

Commit

Permalink
Adopt to changes in Spring Framework 7.
Browse files Browse the repository at this point in the history
See #2449
  • Loading branch information
mp911de committed Jan 8, 2025
1 parent 004b0a7 commit f3b77f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void doesNotAddHeaderForNoETag() {

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

assertThat(headers.containsKey("ETag")).isFalse();
assertThat(headers.getFirst("ETag")).isNull();
}

// tag::versioned-sample[]
Expand Down

0 comments on commit f3b77f5

Please sign in to comment.