diff --git a/tests/Symfony/Tests/Component/Process/PhpExecutableFinderTest.php b/tests/Symfony/Tests/Component/Process/PhpExecutableFinderTest.php index f1712befaec6..25b73f9045a7 100644 --- a/tests/Symfony/Tests/Component/Process/PhpExecutableFinderTest.php +++ b/tests/Symfony/Tests/Component/Process/PhpExecutableFinderTest.php @@ -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(); @@ -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();