File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2929class FullTest extends TestCase
3030{
3131 /** @var State */
32- protected $ state ;
32+ private $ state ;
3333
3434 /** @var Processor */
35- protected $ processor ;
35+ private $ processor ;
3636
3737 /** @var ObjectManagerInterface */
3838 private $ objectManager ;
@@ -46,6 +46,9 @@ class FullTest extends TestCase
4646 /** @var ProductRepositoryInterface */
4747 private $ productRepository ;
4848
49+ /** @var Full */
50+ private $ action ;
51+
4952 /**
5053 * @inheritdoc
5154 */
@@ -75,6 +78,7 @@ protected function setUp(): void
7578 $ this ->flatResource = $ this ->objectManager ->get (FlatResource::class);
7679 $ this ->optionManagement = $ this ->objectManager ->get (AttributeOptionManagementInterface::class);
7780 $ this ->productRepository = $ this ->objectManager ->get (ProductRepositoryInterface::class);
81+ $ this ->action = $ this ->objectManager ->get (Full::class);
7882 }
7983
8084 /**
@@ -172,7 +176,7 @@ public function testCheckDropdownAttributeInFlat(): void
172176 $ options = $ this ->optionManagement ->getItems ($ this ->flatResource ->getTypeId (), $ attributeCode );
173177 $ attributeValue = $ options [1 ]->getValue ();
174178 $ this ->updateProduct ('simple2 ' , $ attributeCode , $ attributeValue );
175- $ this ->processor -> reindexAll ();
179+ $ this ->action -> execute ();
176180 $ this ->assertFlatColumnValue ($ attributeCode , $ attributeValue );
177181 }
178182
You can’t perform that action at this time.
0 commit comments