Commit ad2540c9 authored by Luca Degasperi's avatar Luca Degasperi

Fixed the spaced directory when calling php unit via the command line

Signed-off-by: 's avatarLuca Degasperi <dega.luca@gmail.com>
parent 4d7d67dd
......@@ -80,6 +80,9 @@ class Runner extends Task {
// pointing to our temporary configuration file. This allows
// us to flexibly run tests for any setup.
$path = path('base').'phpunit.xml';
// fix the spaced directories problem when using the command line
$path = str_replace(" ", "\\ ", $path);
passthru('phpunit --configuration '.$path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment