fix builder mocking
This commit is contained in:
parent
03a81a3283
commit
a2c25d2d8f
|
@ -66,7 +66,7 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
'log'
|
||||
),
|
||||
array(),
|
||||
"mockBuilder",
|
||||
"mockBuilder_email",
|
||||
false
|
||||
);
|
||||
|
||||
|
|
|
@ -37,9 +37,9 @@ class PHPUnitTest extends \PHPUnit_Framework_TestCase
|
|||
{
|
||||
$this->mockCiBuilder = $this->getMock(
|
||||
'\PHPCI\Builder',
|
||||
array('findBinary'),
|
||||
array('findBinary', 'executeCommand'),
|
||||
array(),
|
||||
"mockBuilder",
|
||||
"mockBuilder_phpUnit",
|
||||
false
|
||||
);
|
||||
$this->mockCiBuilder->buildPath = "/";
|
||||
|
@ -94,8 +94,7 @@ class PHPUnitTest extends \PHPUnit_Framework_TestCase
|
|||
* @covers PHPUnit::execute
|
||||
* @covers PHPUnit::runDir
|
||||
*/
|
||||
public function testExecute_CallsExecuteCommandOnceWhenGivenStringDirectory(
|
||||
)
|
||||
public function testExecute_CallsExecuteCommandOnceWhenGivenStringDirectory()
|
||||
{
|
||||
chdir('/');
|
||||
|
||||
|
|
Loading…
Reference in a new issue