Make sure test runs in isolated dir
parent
31429ce099
commit
bf1ad4d240
|
@ -261,6 +261,7 @@ class GitHubDriverTest extends TestCase
|
||||||
// clean local clone if present
|
// clean local clone if present
|
||||||
$fs = new Filesystem();
|
$fs = new Filesystem();
|
||||||
$fs->removeDirectory(sys_get_temp_dir() . '/composer-test');
|
$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 = $this->getProcessExecutorMock();
|
||||||
$process->expects(array(
|
$process->expects(array(
|
||||||
|
|
Loading…
Reference in New Issue