Skip to content

Commit c3aa319

Browse files
MAGETWO-69347: Integration plan L4 random fail
1 parent 1e1edac commit c3aa319

File tree

1 file changed

+1
-16
lines changed
  • dev/tests/integration/testsuite/Magento/Sitemap/Model/ResourceModel/Catalog

1 file changed

+1
-16
lines changed

dev/tests/integration/testsuite/Magento/Sitemap/Model/ResourceModel/Catalog/ProductTest.php

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,11 @@
1212
* Test class for \Magento\Sitemap\Model\ResourceModel\Catalog\Product.
1313
* - test products collection generation for sitemap
1414
*
15+
* @magentoDataFixtureBeforeTransaction Magento/Catalog/_files/enable_reindex_schedule.php
1516
* @magentoDataFixture Magento/Sitemap/_files/sitemap_products.php
1617
*/
1718
class ProductTest extends \PHPUnit_Framework_TestCase
1819
{
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-
3520
/**
3621
* Test getCollection None images
3722
* 1) Check that image attributes were not loaded

0 commit comments

Comments
 (0)