Skip to content

Commit 0bbedae

Browse files
author
Dmytro Aponasenko
committed
MTA-1355: Update tests with configuration fixture
- fixed acceptance build plan
1 parent ca853fd commit 0bbedae

File tree

8 files changed

+34
-43
lines changed

8 files changed

+34
-43
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<identifier>sku</identifier>
1717
<repository_class>Magento\Catalog\Test\Repository\CatalogProductVirtual</repository_class>
1818
<handler_interface>Magento\Catalog\Test\Handler\CatalogProductVirtual\CatalogProductVirtualInterface</handler_interface>
19-
<dataset name="data_config">
20-
<field name="type_id" xsi:type="string">virtual</field>
21-
<field name="create_url_params" xsi:type="array">
19+
<data_config>
20+
<item name="type_id" xsi:type="string">virtual</item>
21+
<item name="create_url_params" xsi:type="array">
2222
<item name="type" xsi:type="string">virtual</item>
2323
<item name="set" xsi:type="string">4</item>
24-
</field>
25-
<field name="input_prefix" xsi:type="string">product</field>
26-
</dataset>
24+
</item>
25+
<item name="input_prefix" xsi:type="string">product</item>
26+
</data_config>
2727
<fields>
2828
<field name="is_virtual">
2929
<attribute_code>is_virtual</attribute_code>

dev/tests/functional/tests/app/Magento/Catalog/Test/Repository/CatalogProductSimple.xml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@
342342
<item name="is_in_stock" xsi:type="string">In Stock</item>
343343
</field>
344344
<field name="weight" xsi:type="string">1</field>
345-
<field name="description" xsi:type="array">
346-
<item name="p" xsi:type="string">dfj_full</item>
347-
</field>
345+
<field name="description" xsi:type="string">&lt;p&gt;dfj_full&lt;/p&gt;</field>
348346
<field name="status" xsi:type="string">Product online</field>
349347
<field name="website_ids" xsi:type="array">
350348
<item name="0" xsi:type="string">Main Website</item>
@@ -368,9 +366,7 @@
368366
<item name="is_in_stock" xsi:type="string">In Stock</item>
369367
</field>
370368
<field name="weight" xsi:type="string">0.1</field>
371-
<field name="description" xsi:type="array">
372-
<item name="p" xsi:type="string">Simple with Weight 0.1</item>
373-
</field>
369+
<field name="description" xsi:type="string">&lt;p&gt;Simple with Weight 0.1&lt;/p&gt;</field>
374370
<field name="status" xsi:type="string">Product online</field>
375371
<field name="website_ids" xsi:type="array">
376372
<item name="0" xsi:type="string">Main Website</item>
@@ -394,9 +390,7 @@
394390
<item name="is_in_stock" xsi:type="string">In Stock</item>
395391
</field>
396392
<field name="weight" xsi:type="string">150.1</field>
397-
<field name="description" xsi:type="array">
398-
<item name="p" xsi:type="string">Simple with Weight 150.1</item>
399-
</field>
393+
<field name="description" xsi:type="string">&lt;p&gt;Simple with Weight 150.1&lt;/p&gt;</field>
400394
<field name="status" xsi:type="string">Product online</field>
401395
<field name="website_ids" xsi:type="array">
402396
<item name="0" xsi:type="string">Main Website</item>
@@ -420,13 +414,9 @@
420414
<item name="is_in_stock" xsi:type="string">In Stock</item>
421415
</field>
422416
<field name="weight" xsi:type="string">1</field>
423-
<field name="description" xsi:type="array">
424-
<item name="p" xsi:type="string">adc_Full</item>
425-
</field>
417+
<field name="description" xsi:type="string">&lt;p&gt;adc_Full&lt;/p&gt;</field>
426418
<field name="status" xsi:type="string">Product online</field>
427-
<field name="short_description" xsi:type="array">
428-
<item name="p" xsi:type="string">abc_short</item>
429-
</field>
419+
<field name="short_description" xsi:type="string">&lt;p&gt;abc_short&lt;/p&gt;</field>
430420
<field name="website_ids" xsi:type="array">
431421
<item name="0" xsi:type="string">Main Website</item>
432422
</field>

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Fixture/ConfigurableProductInjectable.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<identifier>sku</identifier>
1717
<repository_class>Magento\ConfigurableProduct\Test\Repository\ConfigurableProductInjectable</repository_class>
1818
<handler_interface>Magento\ConfigurableProduct\Test\Handler\ConfigurableProductInjectable\ConfigurableProductInjectableInterface</handler_interface>
19-
<dataset name="data_config">
20-
<field name="type_id" xsi:type="string">configurable</field>
21-
<field name="create_url_params" xsi:type="array">
19+
<data_config>
20+
<item name="type_id" xsi:type="string">configurable</item>
21+
<item name="create_url_params" xsi:type="array">
2222
<item name="type" xsi:type="string">configurable</item>
2323
<item name="set" xsi:type="string">4</item>
24-
</field>
25-
<field name="input_prefix" xsi:type="string">product</field>
26-
</dataset>
24+
</item>
25+
<item name="input_prefix" xsi:type="string">product</item>
26+
</data_config>
2727
<fields>
2828
<field name="category_ids">
2929
<attribute_code>category_ids</attribute_code>

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Repository/ConfigurableProductInjectable.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" ?>
22
<!--
33
/**
4-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
4+
* Copyright © 2015 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
56
*/
67
-->
78
<repository xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/Mtf/Repository/etc/repository.xsd">

dev/tests/functional/tests/app/Magento/Downloadable/Test/Fixture/DownloadableProductInjectable.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<identifier>sku</identifier>
1717
<repository_class>Magento\Downloadable\Test\Repository\DownloadableProductInjectable</repository_class>
1818
<handler_interface>Magento\Downloadable\Test\Handler\DownloadableProductInjectable\DownloadableProductInjectableInterface</handler_interface>
19-
<dataset name="data_config">
20-
<field name="type_id" xsi:type="string">downloadable</field>
21-
<field name="create_url_params" xsi:type="array">
19+
<data_config>
20+
<item name="type_id" xsi:type="string">downloadable</item>
21+
<item name="create_url_params" xsi:type="array">
2222
<item name="type" xsi:type="string">downloadable</item>
2323
<item name="set" xsi:type="string">4</item>
24-
</field>
25-
<field name="input_prefix" xsi:type="string">product</field>
26-
</dataset>
24+
</item>
25+
<item name="input_prefix" xsi:type="string">product</item>
26+
</data_config>
2727
<fields>
2828
<field name="category_ids">
2929
<attribute_code>category_ids</attribute_code>

dev/tests/functional/tests/app/Magento/GroupedProduct/Test/Fixture/GroupedProductInjectable.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<identifier>sku</identifier>
1717
<repository_class>Magento\GroupedProduct\Test\Repository\GroupedProductInjectable</repository_class>
1818
<handler_interface>Magento\GroupedProduct\Test\Handler\GroupedProductInjectable\GroupedProductInjectableInterface</handler_interface>
19-
<dataset name="data_config">
20-
<field name="type_id" xsi:type="string">grouped</field>
21-
<field name="create_url_params" xsi:type="array">
19+
<data_config>
20+
<item name="type_id" xsi:type="string">grouped</item>
21+
<item name="create_url_params" xsi:type="array">
2222
<item name="type" xsi:type="string">grouped</item>
2323
<item name="set" xsi:type="string">4</item>
24-
</field>
25-
<field name="input_prefix" xsi:type="string">product</field>
26-
</dataset>
24+
</item>
25+
<item name="input_prefix" xsi:type="string">product</item>
26+
</data_config>
2727
<fields>
2828
<field name="category_ids">
2929
<attribute_code>category_ids</attribute_code>

dev/tests/functional/tests/app/Magento/UrlRewrite/Test/TestCase/CreateProductUrlRewriteEntityTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
use Mtf\TestCase\Injectable;
1414

1515
/**
16-
* Test Creation for Product URL Rewrites Entity
17-
*
1816
* Test Flow:
17+
*
1918
* Preconditions:
2019
* 1. Create custom storeView
2120
* 2. Create simple product

dev/tests/functional/tests/app/Magento/Weee/Test/Repository/ConfigData.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" ?>
22
<!--
33
/**
4-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
4+
* Copyright © 2015 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
56
*/
67
-->
78
<repository xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/Mtf/Repository/etc/repository.xsd">

0 commit comments

Comments
 (0)