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 c7bda9f commit 152c745Copy full SHA for 152c745
dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Gallery/ReadHandlerTest.php
@@ -338,11 +338,7 @@ private function getProductInstance(?int $storeId = null): ProductInterface
338
{
339
/** @var ProductInterface $product */
340
$product = $this->productFactory->create();
341
- $product->setData(
342
- $this->productLinkField,
343
- $this->getProduct()->getData($this->productLinkField)
344
- );
345
-
+ $product->setId($this->getProduct()->getId());
346
if ($storeId) {
347
$product->setStoreId($storeId);
348
}
0 commit comments