diff options
author | William Desportes <williamdes@wdes.fr> | 2019-05-29 18:04:46 +0200 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-05-29 18:07:25 +0200 |
commit | ad831332f9a236bf966f40272e126ab89cc8d29b (patch) | |
tree | 36ff8f0d96a6045b9ed008b296be7e552afd760f /tests | |
parent | 92e97d6234645e65bfafcf4b53d98838e57f2d44 (diff) | |
download | sql-parser-ad831332f9a236bf966f40272e126ab89cc8d29b.zip sql-parser-ad831332f9a236bf966f40272e126ab89cc8d29b.tar.gz sql-parser-ad831332f9a236bf966f40272e126ab89cc8d29b.tar.bz2 |
Fix CLITest
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Utils/CLITest.php | 2 |
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/'; } |