Skip to content

Commit b1ce6d7

Browse files
merge magento/2.3.5-develop into magento-qwerty/2.3.5-bugfixes-031320
2 parents 7f91490 + 8fe2661 commit b1ce6d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/product_configurable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/** @var ProductRepositoryInterface $productRepository */
2323
$productRepository = Bootstrap::getObjectManager()
24-
->create(ProductRepositoryInterface::class);
24+
->get(ProductRepositoryInterface::class);
2525

2626
/** @var $installer CategorySetup */
2727
$installer = Bootstrap::getObjectManager()->create(CategorySetup::class);

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/product_configurable_12345.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/** @var ProductRepositoryInterface $productRepository */
2323
$productRepository = Bootstrap::getObjectManager()
24-
->create(ProductRepositoryInterface::class);
24+
->get(ProductRepositoryInterface::class);
2525

2626
/** @var $installer CategorySetup */
2727
$installer = Bootstrap::getObjectManager()->create(CategorySetup::class);
@@ -105,7 +105,7 @@
105105
$registry->unregister('isSecureArea');
106106
$registry->register('isSecureArea', true);
107107
try {
108-
$productToDelete = $productRepository->getById(11);
108+
$productToDelete = $productRepository->getById(111);
109109
$productRepository->delete($productToDelete);
110110

111111
/** @var \Magento\Quote\Model\ResourceModel\Quote\Item $itemResource */

0 commit comments

Comments
 (0)