Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #55 from magento-epam/EPAM-MAGETWO-91620
Browse files Browse the repository at this point in the history
MAGETWO-91620: It is not possible to use function setInAllAttributeSe…
  • Loading branch information
nikshostko authored Aug 16, 2018
2 parents 8db43e7 + 5c2c6ff commit db76b7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ public function testSetInAllAttributeSetsFilter()
$this->selectMock->expects($this->atLeastOnce())->method('group')->with('entity_attribute.attribute_id')
->willReturnSelf();

$this->selectMock->expects($this->atLeastOnce())->method('having')->with(new \Zend_Db_Expr('COUNT(*)') . ' = ' . count($setIds))
->willReturnSelf();
$this->selectMock->expects($this->atLeastOnce())->method('having')
->with(new \Zend_Db_Expr('COUNT(*)') . ' = ' . count($setIds))->willReturnSelf();

$this->model->setInAllAttributeSetsFilter($setIds);
}
Expand Down

0 comments on commit db76b7d

Please sign in to comment.