Start building against Spring Framework 6.2.0-M2 snapshots
See gh-36198
This commit is contained in:
@@ -131,6 +131,11 @@ public class MockMvcAutoConfiguration {
|
||||
public void customize(DispatcherServlet dispatcherServlet) {
|
||||
dispatcherServlet.setDispatchOptionsRequest(this.webMvcProperties.isDispatchOptionsRequest());
|
||||
dispatcherServlet.setDispatchTraceRequest(this.webMvcProperties.isDispatchTraceRequest());
|
||||
configureThrowExceptionIfNoHandlerFound(dispatcherServlet);
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "deprecation", "removal" })
|
||||
private void configureThrowExceptionIfNoHandlerFound(DispatcherServlet dispatcherServlet) {
|
||||
dispatcherServlet
|
||||
.setThrowExceptionIfNoHandlerFound(this.webMvcProperties.isThrowExceptionIfNoHandlerFound());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user