Commit 69e1ea93 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #868 from lucadegasperi/bug/phpunit

Artisan test command fix
parents f338db50 79a5dc19
......@@ -80,6 +80,10 @@ 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
// strings with spaces inside should be wrapped in quotes.
$path = escapeshellarg($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