From 8c1df92566ef3d25a3167f83f28e6157ab5575b7 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 17 Aug 2018 13:24:00 +0200 Subject: [PATCH] Align with DispatcherServlet changes The `shouldHandleFailure` configuration option has been removed from `DispatcherServlet`. See gh-13511 --- .../web/servlet/DispatcherServletAutoConfigurationTests.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfigurationTests.java index da0397335f..0e61098a80 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/DispatcherServletAutoConfigurationTests.java @@ -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")