File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
dev/tests/integration/testsuite/Magento/Sitemap/Model/ResourceModel/Catalog Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 12
12
* Test class for \Magento\Sitemap\Model\ResourceModel\Catalog\Product.
13
13
* - test products collection generation for sitemap
14
14
*
15
+ * @magentoDataFixtureBeforeTransaction Magento/Catalog/_files/enable_reindex_schedule.php
15
16
* @magentoDataFixture Magento/Sitemap/_files/sitemap_products.php
16
17
*/
17
18
class ProductTest extends \PHPUnit_Framework_TestCase
18
19
{
19
- /**
20
- * @var Indexer
21
- */
22
- private $ indexer ;
23
-
24
- /**
25
- * @inheritdoc
26
- */
27
- protected function setUp ()
28
- {
29
- /** @var Indexer indexer */
30
- $ this ->indexer = Bootstrap::getObjectManager ()->create (Indexer::class);
31
- $ this ->indexer ->load ('catalogsearch_fulltext ' );
32
- $ this ->indexer ->reindexAll ();
33
- }
34
-
35
20
/**
36
21
* Test getCollection None images
37
22
* 1) Check that image attributes were not loaded
You can’t perform that action at this time.
0 commit comments