From 20d73caeb687b61609d3ea3bf4cd3f6f10726cfa Mon Sep 17 00:00:00 2001 From: Ward Weistra Date: Fri, 8 Mar 2024 14:36:48 +0100 Subject: [PATCH] More generic rules for unittest --- Examples/{AmyShaw.Patient.xml => CorrectAmyShaw.Patient.xml} | 0 unittest.rules.yaml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename Examples/{AmyShaw.Patient.xml => CorrectAmyShaw.Patient.xml} (100%) diff --git a/Examples/AmyShaw.Patient.xml b/Examples/CorrectAmyShaw.Patient.xml similarity index 100% rename from Examples/AmyShaw.Patient.xml rename to Examples/CorrectAmyShaw.Patient.xml diff --git a/unittest.rules.yaml b/unittest.rules.yaml index 54ca045..1ac9daf 100644 --- a/unittest.rules.yaml +++ b/unittest.rules.yaml @@ -1,9 +1,9 @@ - name: these-should-be-valid - files: Examples/AmyShaw.Patient.xml + files: Examples/Correct*.xml action: validate - name: these-should-be-invalid - files: Examples/WrongBarryShaw.Patient.xml + files: Examples/Wrong*.xml # action: validate assert: http://hl7.org/fhir/dotnet-api-operation-outcome|1028 \ No newline at end of file