fix: missing things on junit

This commit is contained in:
Nuno Maduro
2024-01-20 13:21:57 +00:00
parent fef02594db
commit b9d2be87a2
8 changed files with 63 additions and 26 deletions

View File

@ -31,10 +31,9 @@ final class Cache implements HandlesArguments
public function handleArguments(array $arguments): array
{
if (! $this->hasArgument('--cache-directory', $arguments)) {
$arguments = $this->pushArgument(
sprintf('--cache-directory=%s', realpath(self::TEMPORARY_FOLDER)),
$arguments
);
$arguments = $this->pushArgument('--cache-directory', $arguments);
$arguments = $this->pushArgument((string) realpath(self::TEMPORARY_FOLDER), $arguments);
}
if (! $this->hasArgument('--parallel', $arguments)) {