Skip to content

Commit 6e0116d

Browse files
author
Leonid Poluyanov
committed
Merge remote-tracking branch 'origin/MAGETWO-37246' into develop
2 parents 9d90433 + 0dc3750 commit 6e0116d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/CatalogInventory/Test/Unit/Model/Stock/StockRepositoryTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,18 @@ protected function setUp()
6060
$this->stockFactoryMock = $this->getMockBuilder(
6161
'Magento\CatalogInventory\Model\StockFactory'
6262
)
63+
->setMethods(['create'])
6364
->disableOriginalConstructor()
6465
->getMock();
6566
$this->stockCollectionMock = $this->getMockBuilder(
6667
'Magento\CatalogInventory\Api\Data\StockCollectionInterfaceFactory'
6768
)
69+
->setMethods(['create'])
6870
->disableOriginalConstructor()
6971
->getMock();
7072

7173
$this->queryBuilderFactoryMock = $this->getMockBuilder('Magento\Framework\DB\QueryBuilderFactory')
74+
->setMethods(['create'])
7275
->disableOriginalConstructor()
7376
->getMock();
7477
$this->mapperMock = $this->getMockBuilder('Magento\Framework\DB\MapperFactory')

0 commit comments

Comments
 (0)