Fix dynamically generated phpunit.xml file not being deleted automatically in the test runner.
This commit is contained in:
parent
7e11bb7431
commit
9348046d0e
|
@ -86,9 +86,9 @@ protected function test()
|
|||
|
||||
// fix the spaced directories problem when using the command line
|
||||
// strings with spaces inside should be wrapped in quotes.
|
||||
$path = escapeshellarg($path);
|
||||
$esc_path = escapeshellarg($path);
|
||||
|
||||
passthru('phpunit --configuration '.$path, $status);
|
||||
passthru('phpunit --configuration '.$esc_path, $status);
|
||||
|
||||
@unlink($path);
|
||||
|
||||
|
|
Loading…
Reference in New Issue