Skip to content

Commit 4ab9ea0

Browse files
committed
fix failing test
1 parent 6a73738 commit 4ab9ea0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

tests/data/crates/valid/five-safes-crate-multiple-context/ro-crate-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": ["https://w3id.org/ro/crate/1.2/context", "http://schema.org", {"test": "http://schema.org/test"}],
2+
"@context": ["https://w3id.org/ro/crate/1.2/context", "https://w3id.org/ro/terms/workflow-run/context", {"test": "http://schema.org/test"}],
33
"@graph": [
44
{
55
"@type": "CreativeWork",

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@
2828
def test_5src_conforms_to_old_version():
2929
sparql = SPARQL_PREFIXES + """
3030
DELETE {
31-
<ro-crate-metadata.json> dct:conformsTo ?version .
31+
?this dct:conformsTo ?version .
3232
}
3333
INSERT {
34-
<ro-crate-metadata.json> dct:conformsTo <https://w3id.org/ro/crate/1.1> .
34+
?this dct:conformsTo <https://w3id.org/ro/crate/1.1> .
3535
}
3636
WHERE {
37-
<ro-crate-metadata.json> dct:conformsTo ?version .
37+
?this dct:conformsTo ?version ;
38+
schema:about <./> .
3839
}
3940
"""
4041

0 commit comments

Comments
 (0)