INT-3832: Upgrade to JsonPath-2.1.0

JIRA: https://jira.spring.io/browse/INT-3832
This commit is contained in:
Artem Bilan
2015-12-08 19:30:44 -05:00
parent cf528c0b5d
commit 5bc3208096
2 changed files with 3 additions and 3 deletions

View File

@@ -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'

View File

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