Fixing tests

This commit is contained in:
Dan Cryer 2014-12-08 15:04:44 +00:00
parent 86c698ce26
commit ba09b7c773
2 changed files with 3 additions and 1 deletions

View file

@ -105,7 +105,7 @@ class ExecutorTest extends ProphecyTestCase
$this->mockFactory->buildPlugin(Argument::any(), Argument::any())->willReturn($mockPlugin->reveal());
$this->mockBuildLogger->logFailure('EXCEPTION: ' . $expectedException->getMessage(), $expectedException)
$this->mockBuildLogger->logFailure('Exception: ' . $expectedException->getMessage(), $expectedException)
->shouldBeCalledTimes(1);
$this->testedExecutor->executePlugin($pluginName, $options);

View file

@ -25,3 +25,5 @@ if (file_exists(dirname(__DIR__) . '/PHPCI/config.yml')) {
}
require_once(dirname(__DIR__) . '/vars.php');
\PHPCI\Helper\Lang::init($config);