We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5368e01 commit 77aa5a0Copy full SHA for 77aa5a0
1 file changed
dev/tests/integration/testsuite/Magento/CatalogRule/Model/Indexer/IndexerBuilderTest.php
@@ -137,10 +137,11 @@ protected function prepareProducts()
137
138
$this->product->setStoreId(0)->setData('test_attribute', 'test_attribute_value')->save();
139
$this->productSecond = clone $this->product;
140
- $this->productSecond->setId(null)->setUrlKey('product-second')->save();
+ $this->productSecond->setId(null)->setUrlKey('product-second')->setIsDuplicate(true)->save();
141
$this->productThird = clone $this->product;
142
$this->productThird->setId(null)
143
->setUrlKey('product-third')
144
+ ->setIsDuplicate(true)
145
->setData('test_attribute', 'NO_test_attribute_value')
146
->save();
147
}
0 commit comments