Skip to content

Commit cf1df1c

Browse files
committed
MAGETWO-53424: Added additional arguments into attributes creation
1 parent b9b9d5e commit cf1df1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/CatalogRule/Model/Indexer/IndexerBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function prepareProducts()
112112
$product->load($product->getId());
113113
$this->product = $product;
114114

115-
$this->product->setData('test_attribute', 'test_attribute_value')->save();
115+
$this->product->setStoreId(0)->setData('test_attribute', 'test_attribute_value')->save();
116116
$this->productSecond = clone $this->product;
117117
$this->productSecond->setId(null)->setUrlKey('product-second')->save();
118118
$this->productThird = clone $this->product;

0 commit comments

Comments
 (0)