fix the test expectations
This commit is contained in:
parent
8b03686aef
commit
1711c66aad
2 changed files with 4 additions and 3 deletions
|
|
@ -115,8 +115,7 @@ class Frame extends AbstractMediaType
|
||||||
$commands = array_merge($commands, $filter->apply($this));
|
$commands = array_merge($commands, $filter->apply($this));
|
||||||
}
|
}
|
||||||
|
|
||||||
// without output filename when return binary string
|
if (!$returnBase64) {
|
||||||
if(!$returnBase64) {
|
|
||||||
$commands = array_merge($commands, array($pathfile));
|
$commands = array_merge($commands, array($pathfile));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,9 @@ class FrameTest extends AbstractMediaTestCase
|
||||||
|
|
||||||
$pathfile = '/target/destination';
|
$pathfile = '/target/destination';
|
||||||
|
|
||||||
array_push($commands, $pathfile);
|
if (!$base64) {
|
||||||
|
array_push($commands, $pathfile);
|
||||||
|
}
|
||||||
|
|
||||||
$driver->expects($this->once())
|
$driver->expects($this->once())
|
||||||
->method('command')
|
->method('command')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue