From d185aff822d9cd7cd4cc8a39ca1de98209c51849 Mon Sep 17 00:00:00 2001 From: Bas Kamer Date: Tue, 3 Feb 2015 15:47:10 +0100 Subject: [PATCH] change due to travis fail --- test/BsbPhingServiceTest/Options/ServiceOptionsTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()