Skip to content

Commit d2befb2

Browse files
committed
MC-40777: Cannot save product in store view scope without Magento_Catalog::edit_product_design
1 parent 3a36f4f commit d2befb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/_files/product_simple_with_design_attributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
->setCustomDesignTo('2020-01-03')
4343
->setHasOptions(true);
4444
/** @var ProductRepositoryInterface $productRepositoryFactory */
45-
$productRepository = $objectManager->create(ProductRepositoryInterface::class);
45+
$productRepository = $objectManager->get(ProductRepositoryInterface::class);
4646
$productRepository->save($product);

0 commit comments

Comments
 (0)