Browse Source

Start building against Spring Framework 5.3.6 snapshots

See gh-25909
pull/26435/head
Stephane Nicoll 5 years ago
parent
commit
f1b2db03e0
  1. 2
      spring-boot-project/spring-boot-dependencies/build.gradle
  2. 2
      spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterTests.java

2
spring-boot-project/spring-boot-dependencies/build.gradle

@ -1565,7 +1565,7 @@ bom { @@ -1565,7 +1565,7 @@ bom {
]
}
}
library("Spring Framework", "5.3.5") {
library("Spring Framework", "5.3.6-SNAPSHOT") {
group("org.springframework") {
imports = [
"spring-framework-bom"

2
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/support/ErrorPageFilterTests.java

@ -399,7 +399,7 @@ class ErrorPageFilterTests { @@ -399,7 +399,7 @@ class ErrorPageFilterTests {
assertThat(((HttpServletResponseWrapper) this.chain.getResponse()).getStatus()).isEqualTo(500);
assertThat(this.request.getAttribute(RequestDispatcher.ERROR_STATUS_CODE)).isEqualTo(500);
assertThat(this.request.getAttribute(RequestDispatcher.ERROR_MESSAGE))
.isEqualTo("Required string parameter 'test' is not present");
.isEqualTo("Required request parameter 'test' for method parameter type string is not present");
Map<String, Object> requestAttributes = getAttributesForDispatch("/500");
assertThat(requestAttributes.get(RequestDispatcher.ERROR_EXCEPTION_TYPE))
.isEqualTo(MissingServletRequestParameterException.class);

Loading…
Cancel
Save