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()
78
78
* @magentoDbIsolation disabled
79
79
* @magentoAppIsolation enabled
80
80
* @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
82
83
*/
83
84
public function testReindexAllMultipleStores ()
84
85
{
85
- $ this ->_state = $ this ->objectManager ->create (State::class);
86
- $ this ->_processor = $ this ->objectManager ->create (Processor::class);
87
-
88
86
$ this ->assertTrue ($ this ->_state ->isFlatEnabled ());
89
87
$ this ->_processor ->reindexAll ();
90
88
@@ -119,7 +117,5 @@ public function testReindexAllMultipleStores()
119
117
}
120
118
121
119
$ storeManager ->setCurrentStore ($ currentStore );
122
- $ this ->objectManager ->removeSharedInstance (State::class);
123
- $ this ->objectManager ->removeSharedInstance (Processor::class);
124
120
}
125
121
}
You can’t perform that action at this time.
0 commit comments