File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/code/Magento/CatalogInventory/Test/Unit/Model/Stock Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,18 @@ protected function setUp()
60
60
$ this ->stockFactoryMock = $ this ->getMockBuilder (
61
61
'Magento\CatalogInventory\Model\StockFactory '
62
62
)
63
+ ->setMethods (['create ' ])
63
64
->disableOriginalConstructor ()
64
65
->getMock ();
65
66
$ this ->stockCollectionMock = $ this ->getMockBuilder (
66
67
'Magento\CatalogInventory\Api\Data\StockCollectionInterfaceFactory '
67
68
)
69
+ ->setMethods (['create ' ])
68
70
->disableOriginalConstructor ()
69
71
->getMock ();
70
72
71
73
$ this ->queryBuilderFactoryMock = $ this ->getMockBuilder ('Magento\Framework\DB\QueryBuilderFactory ' )
74
+ ->setMethods (['create ' ])
72
75
->disableOriginalConstructor ()
73
76
->getMock ();
74
77
$ this ->mapperMock = $ this ->getMockBuilder ('Magento\Framework\DB\MapperFactory ' )
You can’t perform that action at this time.
0 commit comments