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 299f497 commit 7f8c6a0Copy full SHA for 7f8c6a0
app/code/Magento/CatalogInventory/Test/Unit/Model/Plugin/AfterProductLoadTest.php
@@ -59,7 +59,9 @@ protected function setUp()
59
->with($stockItemMock)
60
->willReturnSelf();
61
62
- $this->productMock = $this->getMock('\Magento\Catalog\Api\Data\ProductInterface');
+ $this->productMock = $this->getMockBuilder('\Magento\Catalog\Model\Product')
63
+ ->disableOriginalConstructor()
64
+ ->getMock();
65
$this->productMock->expects($this->once())
66
->method('setExtensionAttributes')
67
->with($this->productExtensionMock)
0 commit comments