File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
dev/tests/integration/testsuite/Magento/CatalogSearch/Model/ResourceModel/Advanced Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 55 */
66namespace Magento \CatalogSearch \Model \ResourceModel \Advanced ;
77
8+ use Magento \CatalogSearch \Model \Indexer \Fulltext ;
9+ use Magento \Framework \Indexer \IndexerRegistry ;
10+ use Magento \TestFramework \Helper \Bootstrap ;
11+
812/**
913 * Test class for \Magento\CatalogSearch\Model\ResourceModel\Advanced\Collection.
1014 * @magentoDbIsolation disabled
@@ -21,6 +25,9 @@ protected function setUp()
2125 $ advanced = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()
2226 ->create (\Magento \CatalogSearch \Model \Search \ItemCollectionProvider::class);
2327 $ this ->advancedCollection = $ advanced ->getCollection ();
28+ $ indexerRegistry = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()
29+ ->create (IndexerRegistry::class);
30+ $ indexerRegistry ->get (Fulltext::INDEXER_ID )->reindexAll ();
2431 }
2532
2633 /**
You can’t perform that action at this time.
0 commit comments