Skip to content

Commit a05d9c6

Browse files
committed
MTA-1316: Apply fixture changes to Magento
- Fixed xml code style
1 parent ffea6c8 commit a05d9c6

File tree

113 files changed

+1900
-4616
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+1900
-4616
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Fixture/GlobalSearch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
-->
88
<fixture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/Mtf/Fixture/etc/fixture.xsd"
10-
class="Magento\Backend\Test\Fixture\GlobalSearch">
10+
class="Magento\Backend\Test\Fixture\GlobalSearch">
1111
<module>Magento_Backend</module>
1212
<fields>
13-
<field name="query" >
13+
<field name="query">
1414
<attribute_code>query</attribute_code>
1515
<backend_type>virtual</backend_type>
1616
<source>Magento\Backend\Test\Fixture\GlobalSearch\Query</source>

dev/tests/functional/tests/app/Magento/Bundle/Test/Fixture/BundleProduct.xml

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

dev/tests/functional/tests/app/Magento/Bundle/Test/Repository/BundleProduct.php

Lines changed: 0 additions & 122 deletions
This file was deleted.

dev/tests/functional/tests/app/Magento/Bundle/Test/Repository/BundleProduct.xml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
-->
88
<repository xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/Mtf/Repository/etc/repository.xsd">
99
<storage class="Magento\Bundle\Test\Repository\BundleProduct">
10-
<dataset name="BundleDynamic_sku_1073507449" >
10+
<dataset name="BundleDynamic_sku_1073507449">
1111
<field name="sku" xsi:type="string">BundleDynamic_sku_10735074493</field>
1212
<field name="name" xsi:type="string">BundleDynamic 1073507449</field>
1313
<field name="price" xsi:type="array">
1414
<item name="price_from" xsi:type="string">1</item>
1515
<item name="price_to" xsi:type="string">2</item>
1616
</field>
17-
<field name="short_description" xsi:type="string"></field>
18-
<field name="description" xsi:type="string"></field>
17+
<field name="short_description" xsi:type="string" />
18+
<field name="description" xsi:type="string"/>
1919
<field name="tax_class_id" xsi:type="array">
2020
<item name="dataSet" xsi:type="string">taxable_goods</item>
2121
</field>
@@ -27,18 +27,19 @@
2727
<field name="url_key" xsi:type="string">bundle-dynamic-product-%isolation%</field>
2828
<field name="mtf_dataset_name" xsi:type="string">BundleDynamic_sku_1073507449</field>
2929
<field name="website_ids" xsi:type="array">
30-
<item name="key_0" xsi:type="string">Main Website</item>
30+
<item name="0" xsi:type="string">Main Website</item>
3131
</field>
3232
</dataset>
33-
<dataset name="BundleDynamic_sku_215249172" >
33+
34+
<dataset name="BundleDynamic_sku_215249172">
3435
<field name="sku" xsi:type="string">BundleDynamic_sku_215249172</field>
3536
<field name="name" xsi:type="string">BundleDynamic 215249172</field>
3637
<field name="price" xsi:type="array">
3738
<item name="price_from" xsi:type="string">3</item>
3839
<item name="price_to" xsi:type="string">4</item>
3940
</field>
40-
<field name="short_description" xsi:type="string"></field>
41-
<field name="description" xsi:type="string"></field>
41+
<field name="short_description" xsi:type="string" />
42+
<field name="description" xsi:type="string" />
4243
<field name="tax_class_id" xsi:type="array">
4344
<item name="dataSet" xsi:type="string">taxable_goods</item>
4445
</field>
@@ -49,10 +50,11 @@
4950
<field name="url_key" xsi:type="string">bundle-dynamic-product-%isolation%</field>
5051
<field name="mtf_dataset_name" xsi:type="string">BundleDynamic_sku_215249172</field>
5152
<field name="website_ids" xsi:type="array">
52-
<item name="key_0" xsi:type="string">Main Website</item>
53+
<item name="0" xsi:type="string">Main Website</item>
5354
</field>
5455
</dataset>
55-
<dataset name="bundle_dynamic_product" >
56+
57+
<dataset name="bundle_dynamic_product">
5658
<field name="name" xsi:type="string">Bundle dynamic product %isolation%</field>
5759
<field name="sku" xsi:type="string">sku_bundle_dynamic_product_%isolation%</field>
5860
<field name="sku_type" xsi:type="string">Dynamic</field>
@@ -71,7 +73,7 @@
7173
<item name="dataSet" xsi:type="string">taxable_goods</item>
7274
</field>
7375
<field name="website_ids" xsi:type="array">
74-
<item name="key_0" xsi:type="string">Main Website</item>
76+
<item name="0" xsi:type="string">Main Website</item>
7577
</field>
7678
<field name="stock_data" xsi:type="array">
7779
<item name="manage_stock" xsi:type="string">Yes</item>
@@ -89,7 +91,8 @@
8991
<item name="preset" xsi:type="string">default_dynamic</item>
9092
</field>
9193
</dataset>
92-
<dataset name="bundle_fixed_product" >
94+
95+
<dataset name="bundle_fixed_product">
9396
<field name="name" xsi:type="string">Bundle fixed product %isolation%</field>
9497
<field name="sku" xsi:type="string">sku_bundle_fixed_product_%isolation%</field>
9598
<field name="sku_type" xsi:type="string">Fixed</field>
@@ -110,7 +113,7 @@
110113
<field name="status" xsi:type="string">Product online</field>
111114
<field name="shipment_type" xsi:type="string">Together</field>
112115
<field name="website_ids" xsi:type="array">
113-
<item name="key_0" xsi:type="string">Main Website</item>
116+
<item name="0" xsi:type="string">Main Website</item>
114117
</field>
115118
<field name="stock_data" xsi:type="array">
116119
<item name="manage_stock" xsi:type="string">Yes</item>

dev/tests/functional/tests/app/Magento/Catalog/Test/Fixture/CatalogAttributeSet.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,58 @@
77
-->
88
<fixture xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/Mtf/Fixture/etc/fixture.xsd"
10-
class="Magento\Catalog\Test\Fixture\CatalogAttributeSet">
10+
class="Magento\Catalog\Test\Fixture\CatalogAttributeSet">
1111
<module>Magento_Catalog</module>
1212
<type>flat</type>
1313
<entity_type>eav_attribute_set</entity_type>
1414
<collection>Magento\Catalog\Model\Resource\Product\Link\Product\Collection</collection>
1515
<repository_class>Magento\Catalog\Test\Repository\CatalogAttributeSet</repository_class>
1616
<handler_interface>Magento\Catalog\Test\Handler\CatalogAttributeSet\CatalogAttributeSetInterface</handler_interface>
1717
<fields>
18-
<field name="attribute_set_id" >
18+
<field name="attribute_set_id">
1919
<attribute_code>attribute_set_id</attribute_code>
2020
<backend_type>smallint</backend_type>
2121
<is_required>1</is_required>
2222
<default_value xsi:type="null" />
23-
<input></input>
23+
<input />
2424
</field>
25-
<field name="entity_type_id" >
25+
<field name="entity_type_id">
2626
<attribute_code>entity_type_id</attribute_code>
2727
<backend_type>smallint</backend_type>
28-
<is_required></is_required>
28+
<is_required />
2929
<default_value>0</default_value>
30-
<input></input>
30+
<input />
3131
</field>
32-
<field name="attribute_set_name" >
32+
<field name="attribute_set_name">
3333
<attribute_code>attribute_set_name</attribute_code>
3434
<backend_type>varchar</backend_type>
35-
<is_required></is_required>
35+
<is_required />
3636
<default_value>Default_attribute_set_%isolation%</default_value>
37-
<input></input>
37+
<input />
3838
</field>
39-
<field name="sort_order" >
39+
<field name="sort_order">
4040
<attribute_code>sort_order</attribute_code>
4141
<backend_type>smallint</backend_type>
42-
<is_required></is_required>
42+
<is_required />
4343
<default_value>0</default_value>
44-
<input></input>
44+
<input />
4545
</field>
46-
<field name="skeleton_set" >
46+
<field name="skeleton_set">
4747
<attribute_code>skeleton_set</attribute_code>
4848
<backend_type>varchar</backend_type>
49-
<is_required></is_required>
49+
<is_required />
5050
<default_value>
5151
<dataSet>default</dataSet>
5252
</default_value>
53-
<input></input>
53+
<input />
5454
<source>Magento\Catalog\Test\Fixture\CatalogAttributeSet\SkeletonSet</source>
5555
</field>
56-
<field name="assigned_attributes" >
56+
<field name="assigned_attributes">
5757
<attribute_code>assigned_attributes</attribute_code>
5858
<backend_type>virtual</backend_type>
5959
<source>Magento\Catalog\Test\Fixture\CatalogAttributeSet\AssignedAttributes</source>
6060
</field>
61-
<field name="group" >
61+
<field name="group">
6262
<attribute_code>group</attribute_code>
6363
<backend_type>virtual</backend_type>
6464
</field>

0 commit comments

Comments
 (0)