@@ -51,12 +51,22 @@ public function testSinglePageExport_regular_case_parent_id(): void
5151 type: email
5252 published: false
5353 path: /path/will/be/overwritten/by/parent_id/
54- language: fr
55- navigation_name: 'My Document'
56- navigation_title: 'My Document - Title'
5754 key: test_document_1
5855 title: 'The Title of My Document'
5956 controller: /Some/Controller
57+ properties:
58+ language:
59+ type: string
60+ key: language
61+ value: fr
62+ navigation_name:
63+ type: string
64+ key: navigation_name
65+ value: 'My Document'
66+ navigation_title:
67+ type: string
68+ key: navigation_title
69+ value: 'My Document - Title'
6070 YAML ;
6171
6272 $ pages = $ this ->importer ->import ($ yaml , 'yaml ' , true , true );
@@ -85,9 +95,6 @@ public function testSinglePageExport_regular_case_json(): void
8595 "type": "email",
8696 "published": false,
8797 "path": "\/path\/will\/be\/overwritten\/by\/parent_id/\/",
88- "language": "fr",
89- "navigation_name": "My Document",
90- "navigation_title": "My Document - Title",
9198 "key": "test_document_1",
9299 "title": "The Title of My Document",
93100 "controller": "\/Some\/Controller",
@@ -97,7 +104,24 @@ public function testSinglePageExport_regular_case_json(): void
97104 "name": "textInput",
98105 "data": "some text input"
99106 }
100- ]
107+ ],
108+ "properties": {
109+ "language": {
110+ "type": "string",
111+ "key": "language",
112+ "value": "fr"
113+ },
114+ "navigation_name": {
115+ "type": "string",
116+ "key": "navigation_name",
117+ "value": "My Document"
118+ },
119+ "navigation_title": {
120+ "type": "string",
121+ "key": "navigation_title",
122+ "value": "My Document - Title"
123+ }
124+ }
101125 }
102126 }
103127 ]
@@ -129,12 +153,22 @@ public function testSinglePageExport_regular_case_path(): void
129153 type: email
130154 published: false
131155 path: /
132- language: en
133- navigation_name: 'My Document'
134- navigation_title: 'My Document - Title'
135156 key: test_document_1
136157 title: 'The Title of My Document'
137158 controller: /Some/Controller
159+ properties:
160+ language:
161+ type: string
162+ key: language
163+ value: en
164+ navigation_name:
165+ type: string
166+ key: navigation_name
167+ value: 'My Document'
168+ navigation_title:
169+ type: string
170+ key: navigation_title
171+ value: 'My Document - Title'
138172 YAML ;
139173
140174 $ pages = $ this ->importer ->import ($ yaml , 'yaml ' , true , true );
0 commit comments