From f2ab1e0426a6d2e454bda552bbcc1ba750409af8 Mon Sep 17 00:00:00 2001 From: DimitriZhurkin Date: Wed, 2 Oct 2024 07:39:51 -0600 Subject: [PATCH] Add ssp-role-has-responsible-party-INVALID.xml and modify role-has-responsible-party-FAIL.yaml --- .../ssp-role-has-responsible-party-INVALID.xml | 12 ++++++++++++ .../unit-tests/role-has-responsible-party-FAIL.yaml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/validations/constraints/content/ssp-role-has-responsible-party-INVALID.xml diff --git a/src/validations/constraints/content/ssp-role-has-responsible-party-INVALID.xml b/src/validations/constraints/content/ssp-role-has-responsible-party-INVALID.xml new file mode 100644 index 000000000..bce46ba46 --- /dev/null +++ b/src/validations/constraints/content/ssp-role-has-responsible-party-INVALID.xml @@ -0,0 +1,12 @@ + + + + + Role not bound to a responsible party + + + + diff --git a/src/validations/constraints/unit-tests/role-has-responsible-party-FAIL.yaml b/src/validations/constraints/unit-tests/role-has-responsible-party-FAIL.yaml index 79364b94b..23bb848ef 100644 --- a/src/validations/constraints/unit-tests/role-has-responsible-party-FAIL.yaml +++ b/src/validations/constraints/unit-tests/role-has-responsible-party-FAIL.yaml @@ -2,7 +2,7 @@ test-case: name: The invalid role-has-responsible-party constraint unit test. description: Test that the SSP metadata "role-without-responsible-party" role does not have a responsible party associated with it. - content: ../content/ssp-all-INVALID.xml + content: ../content/ssp-role-has-responsible-party-INVALID.xml expectations: - constraint-id: role-has-responsible-party result: fail \ No newline at end of file