1
0
Fork 0

Make sure test runs in isolated dir

pull/10477/head
Jordi Boggiano 2022-01-21 16:15:28 +01:00
parent 31429ce099
commit bf1ad4d240
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ class GitHubDriverTest extends TestCase
// clean local clone if present
$fs = new Filesystem();
$fs->removeDirectory(sys_get_temp_dir() . '/composer-test');
$this->config->merge(['config' => ['cache-vcs-dir' => sys_get_temp_dir() . '/composer-test/cache']]);
$process = $this->getProcessExecutorMock();
$process->expects(array(