Skip to content

Commit b169a66

Browse files
committed
MAGETWO-90562: [Forwardport] Fix transaction level in integration tests framework
1 parent b21f09f commit b169a66

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/FlatTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Magento\TestFramework\Helper\Bootstrap;
99

1010
/**
11+
* @magentoAppIsolation enabled
1112
* @magentoDbIsolation enabled
1213
*/
1314
class FlatTest extends \Magento\TestFramework\Indexer\TestCase

dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Eav/Action/FullTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ protected function setUp()
3838
}
3939

4040
/**
41+
* @magentoAppArea adminhtml
4142
* @magentoDbIsolation disabled
4243
* @magentoAppIsolation enabled
4344
* @magentoDataFixture Magento/Catalog/_files/product_simple.php
@@ -51,6 +52,11 @@ public function testReindexAll()
5152

5253
$this->assertTrue($attr->isIndexable());
5354

55+
$priceIndexerProcessor = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
56+
\Magento\Catalog\Model\Indexer\Product\Price\Processor::class
57+
);
58+
$priceIndexerProcessor->reindexAll();
59+
5460
$this->_processor->reindexAll();
5561

5662
$categoryFactory = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(

0 commit comments

Comments
 (0)