Skip to content

Commit 74296a2

Browse files
author
Maksym Aposov
committed
MAGETWO-44432: [GITHUB] Manage stock on Product level --> Use Config Settings is never checked by default #2141
1 parent 245a0ea commit 74296a2

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

dev/tests/functional/tests/app/Magento/Bundle/Test/TestCase/CreateBundleProductEntityTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@
149149
<data name="product/data/weight" xsi:type="string">10</data>
150150
<data name="product/data/category" xsi:type="string">category_%isolation%</data>
151151
<data name="product/data/price_view" xsi:type="string">Price Range</data>
152-
<data name="product/data/stock_data/use_config_manage_stock" xsi:type="string">No</data>
153-
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
154152
<data name="product/data/shipment_type" xsi:type="string">Together</data>
155153
<data name="product/data/bundle_selections/dataset" xsi:type="string">with_not_required_options</data>
156154
<data name="product/data/bundle_selections/products" xsi:type="string">catalogProductSimple::product_100_dollar,catalogProductVirtual::product_50_dollar|catalogProductSimple::product_100_dollar,catalogProductVirtual::product_50_dollar</data>

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/CreateSimpleProductEntityTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@
441441
<data name="product/data/name" xsi:type="string">Simple Product %isolation%</data>
442442
<data name="product/data/sku" xsi:type="string">simple_sku_%isolation%</data>
443443
<data name="product/data/price/value" xsi:type="string">10</data>
444-
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
445444
<data name="product/data/stock_data/qty" xsi:type="string">1</data>
446445
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
447446
<constraint name="Magento\Catalog\Test\Constraint\AssertProductSaveMessage" />

dev/tests/functional/tests/app/Magento/Downloadable/Test/TestCase/CreateDownloadableProductEntityTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<variation name="CreateDownloadableProductEntityTestVariation1" summary="Create Downloadable Product with Required Fields Only and Assign it to the Category" ticketId="MAGETWO-13595">
1111
<data name="product/data/name" xsi:type="string">DownloadableProduct_%isolation%</data>
1212
<data name="product/data/sku" xsi:type="string">DownloadableProduct_%isolation%</data>
13+
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">10</data>
14+
<data name="product/data/quantity_and_stock_status/is_in_stock" xsi:type="string">In Stock</data>
1315
<data name="product/data/price/value" xsi:type="string">1</data>
1416
<data name="product/data/category" xsi:type="string">category %isolation%</data>
1517
<data name="product/data/downloadable_links/dataset" xsi:type="string">one_separately_link</data>
@@ -128,7 +130,6 @@
128130
<data name="product/data/tax_class_id/dataset" xsi:type="string">taxable_goods</data>
129131
<data name="product/data/product_has_weight" xsi:type="string">No</data>
130132
<data name="product/data/category" xsi:type="string">Default Category</data>
131-
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
132133
<data name="product/data/stock_data/qty" xsi:type="string">123</data>
133134
<data name="product/data/stock_data/use_config_min_qty" xsi:type="string">No</data>
134135
<data name="product/data/stock_data/min_qty" xsi:type="string">123</data>

dev/tests/functional/tests/app/Magento/Downloadable/Test/TestCase/UpdateDownloadableProductEntityTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
<data name="product/data/quantity_and_stock_status/qty" xsi:type="string">123</data>
5555
<data name="product/data/product_has_weight" xsi:type="string">No</data>
5656
<data name="product/data/category" xsi:type="string">Default Category</data>
57-
<data name="product/data/stock_data/manage_stock" xsi:type="string">Yes</data>
5857
<data name="product/data/stock_data/use_config_min_qty" xsi:type="string">No</data>
5958
<data name="product/data/stock_data/min_qty" xsi:type="string">123</data>
6059
<data name="isRequired" xsi:type="string">No</data>

0 commit comments

Comments
 (0)