Skip to content

Commit 556fb3e

Browse files
committed
MAGETWO-56584: [FT] Custom options are not created for product in test
1 parent 6b0bea9 commit 556fb3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/CatalogProductSimple/Webapi.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ protected function prepareData()
141141
protected function convertData()
142142
{
143143
$fields = [];
144-
$this->websiteIds = $this->fields['product']['website_ids'];
145144

146145
unset($this->fields['product']['website_ids']);
147146
unset($this->fields['product']['checkout_data']);

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,9 @@
12151215
<item name="dataset" xsi:type="string">taxable_goods</item>
12161216
</field>
12171217
<field name="website_ids" xsi:type="array">
1218-
<item name="0" xsi:type="string">Main Website</item>
1218+
<item name="0" xsi:type="array">
1219+
<item name="dataset" xsi:type="string">default</item>
1220+
</item>
12191221
</field>
12201222
<field name="visibility" xsi:type="string">Catalog, Search</field>
12211223
<field name="url_key" xsi:type="string">simple-product-%isolation%</field>

0 commit comments

Comments
 (0)