mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Avoid AssertJ deprecation warning
This commit is contained in:
+1
-2
@@ -297,8 +297,7 @@ class MockHttpServletRequestTests {
|
||||
|
||||
assertThat(cookieHeaders)
|
||||
.describedAs("Cookies -> Header conversion works as expected per RFC6265")
|
||||
.hasSize(1)
|
||||
.hasOnlyOneElementSatisfying(header -> assertThat(header).isEqualTo("foo=bar; baz=qux"));
|
||||
.singleElement().isEqualTo("foo=bar; baz=qux");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user