diff --git a/app/code/Magento/CatalogSearch/Test/Unit/Model/Search/Indexer/IndexStructureTest.php b/app/code/Magento/CatalogSearch/Test/Unit/Model/Search/Indexer/IndexStructureTest.php index 3bb270e990617d3a9e05ca574e788f5bb3f714aa..8f4bb7736cd37b9bf86d5591e792edea8909ef19 100644 --- a/app/code/Magento/CatalogSearch/Test/Unit/Model/Search/Indexer/IndexStructureTest.php +++ b/app/code/Magento/CatalogSearch/Test/Unit/Model/Search/Indexer/IndexStructureTest.php @@ -48,9 +48,8 @@ class IndexStructureTest extends \PHPUnit_Framework_TestCase ->method('getConnection') ->willReturn($this->connection); $this->indexScopeResolver = $this->getMockBuilder( - \Magento\Framework\Indexer\ScopeResolver\IndexScopeResolver::class + \Magento\Framework\Search\Request\IndexScopeResolverInterface::class )->setMethods(['resolve']) - ->disableOriginalConstructor() ->getMock(); $objectManager = new ObjectManager($this); @@ -64,11 +63,6 @@ class IndexStructureTest extends \PHPUnit_Framework_TestCase ); } - /** - * @param string $table - * @param array $dimensions - * @param bool $isTableExist - */ public function testDelete() { $index = 'index_name';