summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Utils/CLITest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Utils/CLITest.php b/tests/Utils/CLITest.php
index 366c480..3722c5f 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -226,7 +226,7 @@ class CLITest extends TestCase
public function stdinParams()
{
if (defined('PHP_BINARY')) {
- $binPath = PHP_BINARY . ' ' . dirname(__DIR__, 2) . '/bin/';
+ $binPath = PHP_BINARY . ' ' . realpath(dirname(__DIR__) . '/../') . '/bin/';
} else {
$binPath = 'php' . ' ' . realpath(dirname(__DIR__) . '/../') . '/bin/';
}