File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ public function testReindexAllMultipleStores()
9393 /** @var StoreManagerInterface $storeManager */
9494 $ storeManager = $ this ->objectManager ->get (StoreManagerInterface::class);
9595 $ store = $ storeManager ->getStore ('fixturestore ' );
96+ $ currentStore = $ storeManager ->getStore ();
9697
9798 $ expectedData = [
9899 $ storeManager ->getDefaultStoreView ()->getId () => 'Simple Product One ' ,
@@ -117,6 +118,7 @@ public function testReindexAllMultipleStores()
117118 );
118119 }
119120
121+ $ storeManager ->setCurrentStore ($ currentStore );
120122 $ this ->objectManager ->removeSharedInstance (State::class);
121123 $ this ->objectManager ->removeSharedInstance (Processor::class);
122124 }
You can’t perform that action at this time.
0 commit comments