Skip to content

Commit cc04f5a

Browse files
committed
MAGETWO-58174: When catalog is being indexed it should index in place or leverage an index alias so store can still function during a long index run
- Use ::class instead of string
1 parent 8b96727 commit cc04f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/CatalogSearch/Model/Indexer/SwitcherUsedInFulltextTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ protected function setUp()
8181

8282
$objectManager->configure(
8383
[
84-
'Magento\CatalogSearch\Model\Indexer\Fulltext' => [
84+
ltrim(\Magento\CatalogSearch\Model\Indexer\Fulltext::class, '\\') => [
8585
'arguments' => [
8686
'indexSwitcher' => [
87-
'instance' => 'Magento\CatalogSearch\Model\Indexer\IndexSwitcherMock',
87+
'instance' => ltrim(\Magento\CatalogSearch\Model\Indexer\IndexSwitcherMock::class, '\\'),
8888
],
8989
],
9090
],

0 commit comments

Comments
 (0)