File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,11 @@ public function testReindexAll()
7878 * @magentoDbIsolation disabled
7979 * @magentoAppIsolation enabled
8080 * @magentoDataFixture Magento/Catalog/_files/product_simple_multistore.php
81- * @magentoDataFixture Magento/Catalog/_files/enable_catalog_product_flat_indexer.php
81+ * @magentoConfigFixture current_store catalog/frontend/flat_catalog_product 1
82+ * @magentoConfigFixture fixturestore_store catalog/frontend/flat_catalog_product 1
8283 */
8384 public function testReindexAllMultipleStores ()
8485 {
85- $ this ->_state = $ this ->objectManager ->create (State::class);
86- $ this ->_processor = $ this ->objectManager ->create (Processor::class);
87-
8886 $ this ->assertTrue ($ this ->_state ->isFlatEnabled ());
8987 $ this ->_processor ->reindexAll ();
9088
@@ -119,7 +117,5 @@ public function testReindexAllMultipleStores()
119117 }
120118
121119 $ storeManager ->setCurrentStore ($ currentStore );
122- $ this ->objectManager ->removeSharedInstance (State::class);
123- $ this ->objectManager ->removeSharedInstance (Processor::class);
124120 }
125121}
You can’t perform that action at this time.
0 commit comments