Skip to content

Commit 0433d55

Browse files
author
Joan He
committed
MAGETWO-31968: Fixed PHP Fatal error: Call to a member function addStreamLog() on a non-object
1 parent e8c8a50 commit 0433d55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/unit/testsuite/Magento/Framework/Image/Adapter/AbstractTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function setUp()
5757

5858
$this->_model = $this->getMockForAbstractClass(
5959
'Magento\Framework\Image\Adapter\AbstractAdapter',
60-
[$this->filesystemMock,$this->loggerMock]
60+
[$this->filesystemMock, $this->loggerMock]
6161
);
6262
}
6363

dev/tests/unit/testsuite/Magento/Framework/Image/Adapter/ImageMagickTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ public function testSaveWithException()
8787
$exception = new FilesystemException();
8888
$this->writeMock->method('create')->will($this->throwException($exception));
8989
$this->loggerMock->expects($this->once())->method('critical')->with($exception);
90-
$this->imageMagic->save('product/cache','sample.jpg');
90+
$this->imageMagic->save('product/cache', 'sample.jpg');
9191
}
9292
}

0 commit comments

Comments
 (0)