From 5bc32080968133e84fcc55a259a63f1dcb1fd43e Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 8 Dec 2015 19:30:44 -0500 Subject: [PATCH] INT-3832: Upgrade to JsonPath-2.1.0 JIRA: https://jira.spring.io/browse/INT-3832 --- build.gradle | 2 +- .../org/springframework/integration/json/JsonPathTests.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 9b9fcfd755..6139090eb2 100644 --- a/build.gradle +++ b/build.gradle @@ -110,7 +110,7 @@ subprojects { subproject -> jpaApiVersion = '2.0.0' jrubyVersion = '1.7.19' jschVersion = '0.1.52' - jsonpathVersion = '2.0.0' + jsonpathVersion = '2.1.0' junitVersion = '4.11' jythonVersion = '2.5.3' kryoShadedVersion = '3.0.3' diff --git a/spring-integration-core/src/test/java/org/springframework/integration/json/JsonPathTests.java b/spring-integration-core/src/test/java/org/springframework/integration/json/JsonPathTests.java index 2cc3237d8e..5eee0db750 100644 --- a/spring-integration-core/src/test/java/org/springframework/integration/json/JsonPathTests.java +++ b/spring-integration-core/src/test/java/org/springframework/integration/json/JsonPathTests.java @@ -58,7 +58,8 @@ import com.jayway.jsonpath.Predicate; * @author Gary Russell * @since 3.0 */ -@ContextConfiguration(classes = JsonPathTests.JsonPathTestsContextConfiguration.class, loader = AnnotationConfigContextLoader.class) +@ContextConfiguration(classes = JsonPathTests.JsonPathTestsContextConfiguration.class, + loader = AnnotationConfigContextLoader.class) @RunWith(SpringJUnit4ClassRunner.class) public class JsonPathTests { @@ -135,7 +136,6 @@ public class JsonPathTests { //MessageTransformationException / MessageHandlingException / InvocationTargetException / IllegalArgumentException Throwable cause = e.getCause().getCause().getCause(); assertTrue(cause instanceof PathNotFoundException); - assertEquals("Property ['store'] not found in path $", cause.getMessage()); } }