Align with DispatcherServlet changes
The `shouldHandleFailure` configuration option has been removed from `DispatcherServlet`. See gh-13511
This commit is contained in:
@@ -170,8 +170,6 @@ public class DispatcherServletAutoConfigurationTests {
|
||||
this.contextRunner.run((context) -> {
|
||||
DispatcherServlet dispatcherServlet = context
|
||||
.getBean(DispatcherServlet.class);
|
||||
assertThat(dispatcherServlet).extracting("shouldHandleFailure")
|
||||
.containsExactly(false);
|
||||
assertThat(dispatcherServlet).extracting("throwExceptionIfNoHandlerFound")
|
||||
.containsExactly(false);
|
||||
assertThat(dispatcherServlet).extracting("dispatchOptionsRequest")
|
||||
|
||||
Reference in New Issue
Block a user