Adapt to deprecation of rejectIllegalHeader

Closes gh-35442
This commit is contained in:
Andy Wilkinson
2023-05-16 19:46:43 +01:00
committed by Stephane Nicoll
parent fa7d79b7b0
commit 39276f8302
3 changed files with 5 additions and 0 deletions

View File

@@ -367,6 +367,8 @@ class TomcatWebServerFactoryCustomizerTests {
}
@Test
@Deprecated
@SuppressWarnings("deprecation")
void testCustomizeRejectIllegalHeader() {
bind("server.tomcat.reject-illegal-header=false");
customizeAndRunServer((server) -> assertThat(