@@ -147,7 +147,58 @@ public function testSuggestCategoriesActionNoSuggestions()
147
147
public function saveActionDataProvider ()
148
148
{
149
149
return [
150
- //'default values' removed from here. Should be fixed in MAGETWO-49481
150
+ 'default values ' => [
151
+ [
152
+ 'id ' => '2 ' ,
153
+ 'entity_id ' => '2 ' ,
154
+ 'path ' => '1/2 ' ,
155
+ 'url_key ' => 'default-category ' ,
156
+ 'is_anchor ' => false ,
157
+ 'use_default ' => [
158
+ 'name ' => 1 ,
159
+ 'is_active ' => 1 ,
160
+ 'thumbnail ' => 1 ,
161
+ 'description ' => 1 ,
162
+ 'image ' => 1 ,
163
+ 'meta_title ' => 1 ,
164
+ 'meta_keywords ' => 1 ,
165
+ 'meta_description ' => 1 ,
166
+ 'include_in_menu ' => 1 ,
167
+ 'display_mode ' => 1 ,
168
+ 'landing_page ' => 1 ,
169
+ 'available_sort_by ' => 1 ,
170
+ 'default_sort_by ' => 1 ,
171
+ 'filter_price_range ' => 1 ,
172
+ 'custom_apply_to_products ' => 1 ,
173
+ 'custom_design ' => 1 ,
174
+ 'custom_design_from ' => 1 ,
175
+ 'custom_design_to ' => 1 ,
176
+ 'page_layout ' => 1 ,
177
+ 'custom_layout_update ' => 1 ,
178
+ ],
179
+ ],
180
+ [
181
+ 'name ' => false ,
182
+ 'default_sort_by ' => false ,
183
+ 'display_mode ' => false ,
184
+ 'meta_title ' => false ,
185
+ 'custom_design ' => false ,
186
+ 'page_layout ' => false ,
187
+ 'is_active ' => false ,
188
+ 'include_in_menu ' => false ,
189
+ 'landing_page ' => false ,
190
+ 'is_anchor ' => false ,
191
+ 'custom_apply_to_products ' => false ,
192
+ 'available_sort_by ' => false ,
193
+ 'description ' => false ,
194
+ 'meta_keywords ' => false ,
195
+ 'meta_description ' => false ,
196
+ 'custom_layout_update ' => false ,
197
+ 'custom_design_from ' => false ,
198
+ 'custom_design_to ' => false ,
199
+ 'filter_price_range ' => false
200
+ ],
201
+ ],
151
202
'custom values ' => [
152
203
[
153
204
'id ' => '2 ' ,
@@ -163,7 +214,7 @@ public function saveActionDataProvider()
163
214
'url_key ' => 'default-category ' ,
164
215
'display_mode ' => 'PRODUCTS ' ,
165
216
'landing_page ' => '1 ' ,
166
- 'is_anchor ' => ' 1 ' ,
217
+ 'is_anchor ' => true ,
167
218
'custom_apply_to_products ' => '0 ' ,
168
219
'custom_design ' => 'Magento/blank ' ,
169
220
'custom_design_from ' => '5/21/2015 ' ,
@@ -232,7 +283,7 @@ public function saveActionDataProvider()
232
283
'url_key ' => 'default-category ' ,
233
284
'display_mode ' => 'PRODUCTS ' ,
234
285
'landing_page ' => '1 ' ,
235
- 'is_anchor ' => ' 1 ' ,
286
+ 'is_anchor ' => true ,
236
287
'custom_apply_to_products ' => '0 ' ,
237
288
'custom_design ' => 'Magento/blank ' ,
238
289
'custom_design_from ' => '5/29/2015 ' ,
0 commit comments