Skip to content

Commit e4f0890

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
- Update unit test to match class design changes in a code
1 parent 2ee18cd commit e4f0890

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/code/Magento/CatalogSearch/Test/Unit/Model/Search/Indexer/IndexStructureTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ protected function setUp()
4848
->method('getConnection')
4949
->willReturn($this->connection);
5050
$this->indexScopeResolver = $this->getMockBuilder(
51-
\Magento\Framework\Indexer\ScopeResolver\IndexScopeResolver::class
51+
\Magento\Framework\Search\Request\IndexScopeResolverInterface::class
5252
)->setMethods(['resolve'])
53-
->disableOriginalConstructor()
5453
->getMock();
5554

5655
$objectManager = new ObjectManager($this);
@@ -64,11 +63,6 @@ protected function setUp()
6463
);
6564
}
6665

67-
/**
68-
* @param string $table
69-
* @param array $dimensions
70-
* @param bool $isTableExist
71-
*/
7266
public function testDelete()
7367
{
7468
$index = 'index_name';

0 commit comments

Comments
 (0)