diff --git a/test/BsbPhingServiceTest/Options/ServiceOptionsTest.php b/test/BsbPhingServiceTest/Options/ServiceOptionsTest.php index 9d0f71d..f55ac42 100644 --- a/test/BsbPhingServiceTest/Options/ServiceOptionsTest.php +++ b/test/BsbPhingServiceTest/Options/ServiceOptionsTest.php @@ -21,8 +21,9 @@ public function testSetPhpBin() public function testGetPhpBinAutoDiscoversPhpCommand() { + $php = exec('which php'); $options = new ServiceOptions(); - $this->assertEquals($_SERVER['PHP_COMMAND'], $options->getPhpBin()); + $this->assertEquals($php, $options->getPhpBin()); } public function testSetPhingBinViaConstructor()