From 91a75ecd3c9e16a4539bfed32dcefadb66c9a756 Mon Sep 17 00:00:00 2001 From: Simon Laing Date: Thu, 9 Jan 2020 14:54:36 +0000 Subject: [PATCH 1/2] fix(#1614): Update to jackson@2.10.0 --- gradle.properties | 2 +- .../generator/profile/AtomicConstraintDeserialiserTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 36a164f74..515dc50f2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,7 +26,7 @@ COMMONS_CSV_VERSION=1.6 COMMONS_IO_VERSION=2.6 GSON_VERSION=2.8.5 LEADPONY_JUSTIFY_VERSION=0.14.0 -JACKSON_VERSION=2.9.9 +JACKSON_VERSION=2.10.0 MEDEIA_VALIDATOR_JACKSON_VERSION=1.0.0 JUNIT_JUPITER_VERSION=5.5.1 diff --git a/profile/src/test/java/com/scottlogic/datahelix/generator/profile/AtomicConstraintDeserialiserTests.java b/profile/src/test/java/com/scottlogic/datahelix/generator/profile/AtomicConstraintDeserialiserTests.java index a91115559..9ef15083d 100644 --- a/profile/src/test/java/com/scottlogic/datahelix/generator/profile/AtomicConstraintDeserialiserTests.java +++ b/profile/src/test/java/com/scottlogic/datahelix/generator/profile/AtomicConstraintDeserialiserTests.java @@ -76,7 +76,7 @@ public void shouldDeserialiseEqualToAndThrowInvalidConstraintValueException() th deserialiseJsonString(json); Assert.fail("should have thrown an exception"); } catch (JsonParseException e) { - String expectedMessage = "Unexpected character ('}' (code 125)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: (String)\"{\"field\": \"type\", \"equalTo\": }\"; line: 1, column: 31]"; + String expectedMessage = "Unexpected character ('}' (code 125)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (String)\"{\"field\": \"type\", \"equalTo\": }\"; line: 1, column: 31]"; assertThat(e.getMessage(), sameBeanAs(expectedMessage)); } } From 7f70a3f419578b2c6d6a9e62ff598f8d20869bd7 Mon Sep 17 00:00:00 2001 From: Simon Laing Date: Thu, 9 Jan 2020 14:57:06 +0000 Subject: [PATCH 2/2] fix(#1604): Update to medeia-validator-jackson@1.1.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 515dc50f2..17ccc2898 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ COMMONS_IO_VERSION=2.6 GSON_VERSION=2.8.5 LEADPONY_JUSTIFY_VERSION=0.14.0 JACKSON_VERSION=2.10.0 -MEDEIA_VALIDATOR_JACKSON_VERSION=1.0.0 +MEDEIA_VALIDATOR_JACKSON_VERSION=1.1.1 JUNIT_JUPITER_VERSION=5.5.1 JUNIT_4_VERSION=4.12