Skip to content

Commit e5cfd85

Browse files
committed
Mark 1.1 tests with "specVersion": "1.1", which is independent of "processingMode".
Fixes #489.
1 parent 7dccd76 commit e5cfd85

6 files changed

+163
-87
lines changed

test-suite/tests/compact-0038-out.jsonld

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020
"title": {
2121
"en": {
2222
"@type": "site-cd:field-types/title_field",
23-
"site-cd:node/article/title/value": "This is the English title"
23+
"title:/value": "This is the English title"
2424
},
2525
"es": {
2626
"@type": "site-cd:field-types/title_field",
27-
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
27+
"title:/value": "Este es el t’tulo espa–ol"
2828
}
2929
},
3030
"body": {
3131
"en": {
3232
"@type": "site-cd:field-types/text_with_summary",
33-
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
34-
"site-cd:node/article/body/summary": "This is the teaser for the body.",
35-
"site-cd:node/article/body/format": "full_html"
33+
"body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
34+
"body:/summary": "This is the teaser for the body.",
35+
"body:/format": "full_html"
3636
}
3737
},
3838
"field_tags": {
+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"@context": {
3+
"site": "http://example.com/",
4+
"site-cd": "site:site-schema/content-deployment/",
5+
"title": {
6+
"@id": "site-cd:node/article/title",
7+
"@container": "@index"
8+
},
9+
"body": {
10+
"@id": "site-cd:node/article/body",
11+
"@container": "@index"
12+
},
13+
"field_tags": {
14+
"@id": "site-cd:node/article/field_tags",
15+
"@container": "@index"
16+
}
17+
},
18+
"@id": "site:node/1",
19+
"@type": "site-cd:node/article",
20+
"title": {
21+
"en": {
22+
"@type": "site-cd:field-types/title_field",
23+
"site-cd:node/article/title/value": "This is the English title"
24+
},
25+
"es": {
26+
"@type": "site-cd:field-types/title_field",
27+
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
28+
}
29+
},
30+
"body": {
31+
"en": {
32+
"@type": "site-cd:field-types/text_with_summary",
33+
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
34+
"site-cd:node/article/body/summary": "This is the teaser for the body.",
35+
"site-cd:node/article/body/format": "full_html"
36+
}
37+
},
38+
"field_tags": {
39+
"en": {
40+
"@type": "site-cd:taxonomy/term",
41+
"@id": "site:taxonomy/term/1",
42+
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
43+
},
44+
"es": [
45+
{
46+
"@type": "site-cd:taxonomy/term",
47+
"@id": "site:taxonomy/term/1",
48+
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
49+
},
50+
{
51+
"@type": "site-cd:taxonomy/term",
52+
"@id": "site:taxonomy/term/2",
53+
"site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010"
54+
}
55+
]
56+
}
57+
}

0 commit comments

Comments
 (0)