From 4ed581cdd723e232935a277d092ea6ec981909b6 Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Fri, 24 Jun 2022 13:58:34 +0100 Subject: [PATCH] Fix build failures --- .../method/annotation/ResponseBodyResultHandlerTests.java | 3 ++- .../method/annotation/ResponseEntityResultHandlerTests.java | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java index 3d7c1361ed4..9e58b32cdf5 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java @@ -149,7 +149,8 @@ public class ResponseBodyResultHandlerTests { "\"title\":\"Bad Request\"," + "\"status\":400," + "\"detail\":null," + - "\"instance\":\"/path\"}"); + "\"instance\":\"/path\"," + + "\"properties\":null}"); } @Test diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java index 9a95306284f..30b779bf2b1 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseEntityResultHandlerTests.java @@ -260,7 +260,8 @@ public class ResponseEntityResultHandlerTests { "\"title\":\"Bad Request\"," + "\"status\":400," + "\"detail\":null," + - "\"instance\":\"/path\"}"); + "\"instance\":\"/path\"," + + "\"properties\":null}"); } @Test @@ -280,7 +281,8 @@ public class ResponseEntityResultHandlerTests { "\"title\":\"Bad Request\"," + "\"status\":400," + "\"detail\":null," + - "\"instance\":\"/path\"}"); + "\"instance\":\"/path\"," + + "\"properties\":null}"); } @Test