-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OptimizationChain #7
base: master
Are you sure you want to change the base?
Conversation
->once() | ||
->andReturn($optimizerChainMock); | ||
|
||
$command = sprintf('convert %s -sampling-factor 4:2:0 -strip -quality 65 %s', $expectedPathToOutput, $expectedPathToOutput); | ||
|
||
$exec = $this->getFunctionMock(__NAMESPACE__, 'shell_exec'); | ||
$exec | ||
->expects($this->once()) | ||
$exec->expects($this->once()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aca estoy medio mareado con el core. Las validaciones de cantidad de llamados funcan sin el mockery close del tear down? O habria que agregarlo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Es un buen punto, pruebo y te aviso.
Add custom optimizer configurations and build a new default chain