Skip to content

Commit 8d6bc88

Browse files
committed
Amended message in 7_requested_workflow_run.ttl and corresponding test
1 parent 7ee8a1d commit 8d6bc88

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

rocrate_validator/profiles/five-safes-crate/must/7_requested_workflow_run.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ five-safes-crate:WorkflowRunActionExistence
5959
}
6060
}
6161
""" ;
62-
sh:message "The crate MUST contain at least one `CreateAction` (corresponding to the workflow run)" ;
62+
sh:message "The `CreateAction` entity corresponding to the workflow run MUST reference through its property `instrument` the same entity as `RootData Entity` --> `mainEntity`" ;
6363
] .
6464

6565

tests/integration/profiles/five-safes-crate/test_5src_7_requesting_workflow_run.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ def test_rocrate_does_not_have_createaction():
5454
expected_triggered_issues=[
5555
"`RootDataEntity` MUST reference at least one `CreateAction`",
5656
" (corresponding to the workflow run) through `mentions`",
57-
"The crate MUST contain at least one `CreateAction` (corresponding to the workflow run)",
57+
(
58+
"The `CreateAction` entity corresponding to the workflow run "
59+
"MUST reference through its property `instrument` the same "
60+
"entity as `RootData Entity` --> `mainEntity`"
61+
),
5862
],
5963
profile_identifier="five-safes-crate",
6064
rocrate_entity_mod_sparql=sparql,

0 commit comments

Comments
 (0)