Skip to content

Commit 8c1df92

Browse files
committed
Align with DispatcherServlet changes
The `shouldHandleFailure` configuration option has been removed from `DispatcherServlet`. See gh-13511
1 parent f30453d commit 8c1df92

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ public void dispatcherServletDefaultConfig() {
170170
this.contextRunner.run((context) -> {
171171
DispatcherServlet dispatcherServlet = context
172172
.getBean(DispatcherServlet.class);
173-
assertThat(dispatcherServlet).extracting("shouldHandleFailure")
174-
.containsExactly(false);
175173
assertThat(dispatcherServlet).extracting("throwExceptionIfNoHandlerFound")
176174
.containsExactly(false);
177175
assertThat(dispatcherServlet).extracting("dispatchOptionsRequest")

0 commit comments

Comments
 (0)