Skip to content

Commit b7e5ac4

Browse files
committed
MAGETWO-39757: Main cases of search functionality do not work
- Fix unit test
1 parent e14ef56 commit b7e5ac4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/Magento/Framework/Search/Test/Unit/Adapter/Mysql/Query/QueryContainerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ public function testBuild()
9191
->getMock();
9292
$this->indexBuilder->expects($this->once())->method('build')->willReturn($subSelect);
9393
$subSelect->expects($this->once())->method('columns')->with('score condition');
94-
$this->request->expects($this->once())->method('getSize')->willReturn(1000);
95-
$subSelect->expects($this->once())->method('limit')->with(1000);
9694

9795
$result = $this->queryContainer->addMatchQuery($this->select, $this->query, Bool::QUERY_CONDITION_MUST);
9896
$this->assertEquals($this->select, $result);

0 commit comments

Comments
 (0)