diff options
author | 2020-08-12 11:17:53 +0530 | |
---|---|---|
committer | 2020-08-12 11:22:02 +0530 | |
commit | 41c8b867dc2057933fce671f8c85e3b11385ea1d (patch) | |
tree | 8e0b108490a1b516d1bb1a4286d14aae01f1ecd0 /csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java | |
parent | 4c059762652cd47c2f5a37deec36b3bdb2381782 (diff) |
fix snakeyaml vulnerability
Issue-ID: VNFSDK-584
Signed-off-by: jitendra007 <jitendra.sharma1@huawei.com>
Change-Id: Id91ed81d3b104e507eefc242a59e19918564233c
Diffstat (limited to 'csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java')
-rw-r--r-- | csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java b/csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java index 9e7af5d..e8bc7c1 100644 --- a/csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java +++ b/csarvalidation/src/test/java/org/onap/validation/yaml/YamlLoaderTest.java @@ -65,7 +65,7 @@ public class YamlLoaderTest { // when then assertThatThrownBy(YamlLoadingUtils::tryToLoadMultiDocumentInvalidYamlFile ).isInstanceOf(ParserException.class) - .hasMessageContaining("expected the node content, but found DocumentEnd"); + .hasMessageContaining("expected the node content, but found '<document end>'"); } @Test @@ -73,7 +73,7 @@ public class YamlLoaderTest { // when then assertThatThrownBy(YamlLoadingUtils::tryToLoadMultiDocumentInvalidYamlFileUsingStringPath ).isInstanceOf(ParserException.class) - .hasMessageContaining("expected the node content, but found DocumentEnd"); + .hasMessageContaining("expected the node content, but found '<document end>'"); } } |