fix the test expectations

This commit is contained in:
qcjackman 2018-05-28 14:00:32 +08:00
commit 1711c66aad
2 changed files with 4 additions and 3 deletions

View file

@ -115,8 +115,7 @@ class Frame extends AbstractMediaType
$commands = array_merge($commands, $filter->apply($this));
}
// without output filename when return binary string
if(!$returnBase64) {
if (!$returnBase64) {
$commands = array_merge($commands, array($pathfile));
}

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')