Skip to content

Commit 079b2ce

Browse files
committed
magento2-login-as-customer/issues/90: Tests stabilization
-- Update integration test fixture
1 parent 27c3c83 commit 079b2ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)