Skip to content

Commit

Permalink
Update PreExecuteEventTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Oct 29, 2015
1 parent a21b11e commit cab6598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Event/PreExecuteEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class PreExecuteEventTest extends \PHPUnit_Framework_TestCase
public static function createPreExecuteEvent()
{
$task = \Mockery::mock('Bldr\Task\TaskInterface');
$builder = \Mockery::mock('Symfony\Component\Process\ProcessBuilder');
$process = \Mockery::mock('Symfony\Component\Process\Process');

return new PreExecuteEvent($task, $builder, false);
return new PreExecuteEvent($task, $process, false);
}

/**
Expand Down Expand Up @@ -63,8 +63,8 @@ public function testGetProcess()
$postExecuteEvent = self::createPreExecuteEvent();

$this->assertInstanceOf(
'Symfony\Component\Process\ProcessBuilder',
$postExecuteEvent->getProcessBuilder()
'Symfony\Component\Process\Process',
$postExecuteEvent->getProcess()
);
}
}

0 comments on commit cab6598

Please sign in to comment.