From a3c76e40950144805479b3c8f56a630b27aac467 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 1 Dec 2020 14:49:20 +1100 Subject: [PATCH] update test cases for enforcing bundle rules around the presence of fullUrl --- RELEASE_NOTES.md | 1 + validator/azatadha/example-params-1.xml | 3 ++- validator/manifest.json | 9 ++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e69de29b..73d0f0c6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -0,0 +1 @@ +* Update test cases for enforcing bundle rules around the presence of fullUrl \ No newline at end of file diff --git a/validator/azatadha/example-params-1.xml b/validator/azatadha/example-params-1.xml index 12207548..32f21b62 100644 --- a/validator/azatadha/example-params-1.xml +++ b/validator/azatadha/example-params-1.xml @@ -8,7 +8,8 @@ - + + diff --git a/validator/manifest.json b/validator/manifest.json index 4c8eb472..9184c241 100644 --- a/validator/manifest.json +++ b/validator/manifest.json @@ -2692,7 +2692,7 @@ "file" : "japanese-utf8-ok.xml", "explanation" : "bundle related errors; number doesn't matter (it's > 1)", "java" : { - "errorCount" : 70, + "errorCount" : 72, "output" : [ "ERROR: /f:Bundle: Text should not be present ('�@')", "ERROR: Device: Undefined element 'code'", @@ -2768,7 +2768,9 @@ "ERROR: Bundle.entry[16]: Entry '47bc33d5-5eea-45fd-8a46-b3543a7c4495' isn't reachable by traversing from first Bundle entry", "ERROR: Bundle.entry[17]: Entry '47bc33d5-5eea-45fd-8a46-b3543a7c4495' isn't reachable by traversing from first Bundle entry", "ERROR: Bundle.entry[18]: Entry isn't reachable by traversing from first Bundle entry", - "ERROR: Bundle.entry[19]: Entry isn't reachable by traversing from first Bundle entry" + "ERROR: Bundle.entry[19]: Entry isn't reachable by traversing from first Bundle entry", + "ERROR: Bundle.entry[17]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry", + "ERROR: Bundle.entry[18]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry" ] } }, @@ -4649,7 +4651,8 @@ "bundle-with-extensions-ext.xml" ], "java" : { - "errorCount" : 0 + "errorCount" : 1, + "output" : [ "ERROR: Bundle.entry[0]: Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry" ] } }, {