Skip to content

Commit

Permalink
[Process] fixed unit tests on PHP 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 20, 2011
1 parent 89bd0d7 commit ebc9979
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -23,6 +23,10 @@ class PhpExecutableFinderTest extends \PHPUnit_Framework_TestCase
*/
public function testFindWithPHP_PATH()
{
if (defined('PHP_BINARY')) {
$this->markTestSkipped('The PHP binary is easily available as of PHP 5.4');
}

$f = new PhpExecutableFinder();

$current = $f->find();
Expand All @@ -41,6 +45,10 @@ public function testFindWithPHP_PATH()
*/
public function testFindWithSuffix()
{
if (defined('PHP_BINARY')) {
$this->markTestSkipped('The PHP binary is easily available as of PHP 5.4');
}

putenv('PHP_PATH=');
putenv('PHP_PEAR_PHP_BIN=');
$f = new PhpExecutableFinder();
Expand Down

0 comments on commit ebc9979

Please sign in to comment.