We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6b7ce commit f090d3eCopy full SHA for f090d3e
app/code/Magento/Wishlist/Test/Unit/Controller/Shared/CartTest.php
@@ -143,6 +143,7 @@ protected function setUp()
143
144
$this->optionFactory = $this->getMockBuilder('Magento\Wishlist\Model\Item\OptionFactory')
145
->disableOriginalConstructor()
146
+ ->setMethods(['create'])
147
->getMock();
148
$this->optionFactory->expects($this->once())
149
->method('create')
@@ -154,6 +155,7 @@ protected function setUp()
154
155
156
$this->itemFactory = $this->getMockBuilder('Magento\Wishlist\Model\ItemFactory')
157
158
159
160
$this->itemFactory->expects($this->once())
161
0 commit comments