Make sure test runs in isolated dir

main
Jordi Boggiano 2 years ago
parent 31429ce099
commit bf1ad4d240
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -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(

Loading…
Cancel
Save