Fixed plugins execution

This commit is contained in:
Dmitry Khomutov 2017-02-20 20:22:35 +07:00
commit 041ab16e71
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
2 changed files with 8 additions and 12 deletions

View file

@ -100,8 +100,8 @@ class ExecutorTest extends \PHPUnit_Framework_TestCase
{
$options = [];
$pluginName = 'DOESNTEXIST';
$this->mockBuildLogger->logFailure('Plugin does not exist: ' . $pluginName)->shouldBeCalledTimes(1);
$this->mockBuildLogger->logFailure(sprintf('Plugin does not exist: %s', $pluginName))->shouldBeCalledTimes(1);
$this->testedExecutor->executePlugin($pluginName, $options);
}