File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
dev/tests/integration/testsuite/Magento/Catalog/_files Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
declare (strict_types=1 );
7
7
8
- use Magento \Catalog \Api \ProductRepositoryInterface ;
9
- use Magento \Framework \Exception \NoSuchEntityException ;
10
- use Magento \Framework \Exception \StateException ;
11
8
use Magento \TestFramework \Helper \Bootstrap ;
9
+ use Magento \Framework \Exception \NoSuchEntityException ;
12
10
use Magento \Framework \App \ObjectManager ;
13
11
use Magento \CatalogInventory \Model \Indexer \Stock \Processor ;
12
+ use Magento \Catalog \Api \ProductRepositoryInterface ;
14
13
use Magento \Framework \Registry ;
14
+ use Magento \Framework \Exception \StateException ;
15
15
16
16
$ registry = Bootstrap::getObjectManager ()->get (Registry::class);
17
17
29
29
} catch (StateException $ exception ) {
30
30
}
31
31
32
- ObjectManager::getInstance ()
33
- ->create (Processor::class)
34
- ->reindexAll ();
32
+ ObjectManager::getInstance ()->create (Processor::class)->reindexAll ();
35
33
36
34
$ registry ->unregister ('isSecureArea ' );
37
35
$ registry ->register ('isSecureArea ' , false );
You can’t perform that action at this time.
0 commit comments