fix(phpunit): args and autoload

This commit is contained in:
Jérémy Dufraisse 2023-03-19 13:21:58 +01:00
parent 42526c39b0
commit f576ad2bcb

View File

@ -77,9 +77,11 @@ use Symfony\Component\Console\Output\OutputInterface;
if (is_dir($path)){
$empty = false;
$args = [
'--bootstrap',
'vendor/autoload.php',
$path
];
$code = $this->runPhpUnitIfAvailable($input->getArgument('args'),$output);
$code = $this->runPhpUnitIfAvailable($args,$output);
if ($code != Command::SUCCESS){
return $code;
}