File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
/** @var ProductRepositoryInterface $productRepository */
23
23
$ productRepository = Bootstrap::getObjectManager ()
24
- ->create (ProductRepositoryInterface::class);
24
+ ->get (ProductRepositoryInterface::class);
25
25
26
26
/** @var $installer CategorySetup */
27
27
$ installer = Bootstrap::getObjectManager ()->create (CategorySetup::class);
105
105
$ registry ->unregister ('isSecureArea ' );
106
106
$ registry ->register ('isSecureArea ' , true );
107
107
try {
108
- $ productToDelete = $ productRepository ->getById (11 );
108
+ $ productToDelete = $ productRepository ->getById (111 );
109
109
$ productRepository ->delete ($ productToDelete );
110
110
111
111
/** @var \Magento\Quote\Model\ResourceModel\Quote\Item $itemResource */
You can’t perform that action at this time.
0 commit comments