Merge branch 'master' into jens1o-patch-1

This commit is contained in:
Jens Hausdorf 2018-05-28 09:14:13 +02:00 committed by GitHub
commit da15debf75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -115,7 +115,9 @@ class Frame extends AbstractMediaType
$commands = array_merge($commands, $filter->apply($this));
}
$commands = array_merge($commands, array($pathfile));
if (!$returnBase64) {
$commands = array_merge($commands, array($pathfile));
}
try {
if(!$returnBase64) {

View file

@ -61,7 +61,9 @@ class FrameTest extends AbstractMediaTestCase
$pathfile = '/target/destination';
array_push($commands, $pathfile);
if (!$base64) {
array_push($commands, $pathfile);
}
$driver->expects($this->once())
->method('command')