Skip to content

Commit 66a855d

Browse files
committed
Merge remote-tracking branch 'origin/AC-1657' into GL_Mainline_PR_25112021
2 parents 17dbc80 + 3040607 commit 66a855d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/_files/product_virtual_rollback.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
declare(strict_types=1);
77

88
use Magento\Catalog\Api\ProductRepositoryInterface;
9+
use Magento\CatalogInventory\Model\Indexer\Stock\Processor;
10+
use Magento\Framework\App\ObjectManager;
911
use Magento\Framework\Exception\NoSuchEntityException;
1012
use Magento\Framework\Exception\StateException;
13+
use Magento\Framework\Registry;
1114
use Magento\TestFramework\Helper\Bootstrap;
1215

13-
$registry = Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class);
16+
$registry = Bootstrap::getObjectManager()->get(Registry::class);
1417

1518
$registry->unregister('isSecureArea');
1619
$registry->register('isSecureArea', true);
@@ -26,5 +29,7 @@
2629
} catch (StateException $exception) {
2730
}
2831

32+
ObjectManager::getInstance()->create(Processor::class)->reindexAll();
33+
2934
$registry->unregister('isSecureArea');
3035
$registry->register('isSecureArea', false);

dev/tests/integration/testsuite/Magento/Quote/Model/QuoteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ protected function tearDown(): void
116116
}
117117

118118
/**
119-
* @magentoDataFixture Magento/Catalog/_files/product_virtual.php
120119
* @magentoDataFixture Magento/Sales/_files/quote.php
120+
* @magentoDataFixture Magento/Catalog/_files/product_virtual.php
121121
* @return void
122122
*/
123123
public function testCollectTotalsWithVirtual(): void

0 commit comments

Comments
 (0)