Skip to content

Commit 3ca2d29

Browse files
Fix for issue #45001 - ServletRegistrationBean has those properties, but @ServletRegistration hasn't: initParameters, servletRegistrationBeans, multipartConfig Signed-off-by: Dmytro Danilenkov <[email protected]>
Signed-off-by: Dmytro Danilenkov <[email protected]>
1 parent da9173b commit 3ca2d29

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ void shouldApplyExtendedServletRegistrationAnnotation() {
202202
assertThat(bean.getMultipartConfig().getFileSizeThreshold()).isEqualTo(128);
203203
}
204204

205-
// Removed the test that relied on servletRegistrationBeans = { ... }
206-
207205
private void load(Class<?>... configuration) {
208206
this.context = new AnnotationConfigApplicationContext(configuration);
209207
}

0 commit comments

Comments
 (0)