Skip to content

Commit ad83133

Browse files
committed
Fix CLITest
Signed-off-by: William Desportes <[email protected]>
1 parent 92e97d6 commit ad83133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Utils/CLITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function testStdinPipe($cmd, $result)
226226
public function stdinParams()
227227
{
228228
if (defined('PHP_BINARY')) {
229-
$binPath = PHP_BINARY . ' ' . dirname(__DIR__, 2) . '/bin/';
229+
$binPath = PHP_BINARY . ' ' . realpath(dirname(__DIR__) . '/../') . '/bin/';
230230
} else {
231231
$binPath = 'php' . ' ' . realpath(dirname(__DIR__) . '/../') . '/bin/';
232232
}

0 commit comments

Comments
 (0)