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()); } }