Skip to content

Commit a6efe74

Browse files
committed
SetMethods to null in MockBuilder
1 parent 6ccd90e commit a6efe74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/App/Test/Unit/Response/Http/FileFactoryTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,12 @@ private function getModel()
230230
/**
231231
* Get model mock
232232
*
233-
* @return \Magento\Framework\App\Response\Http\FileFactory | \PHPUnit\Framework_MockObject_MockBuilder
233+
* @return \Magento\Framework\App\Response\Http\FileFactory | \PHPUnit_Framework_MockObject_MockObject
234234
*/
235235
private function getModelMock()
236236
{
237237
$modelMock = $this->getMockBuilder(\Magento\Framework\App\Response\Http\FileFactory::class)
238+
->setMethods(null)
238239
->setConstructorArgs(
239240
[
240241
'response' => $this->responseMock,

0 commit comments

Comments
 (0)