1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add caching to svn metadata

This commit is contained in:
Jordi Boggiano 2012-06-18 15:35:00 +02:00
parent 6d1377838b
commit a06ebdd8ef
3 changed files with 53 additions and 33 deletions

View file

@ -39,7 +39,13 @@ class SvnDriverTest extends \PHPUnit_Framework_TestCase
->method('getErrorOutput')
->will($this->returnValue($output));
$svn = new SvnDriver('http://till:secret@corp.svn.local/repo', $console, new Config(), $process);
$config = new Config();
$config->merge(array(
'config' => array(
'home' => sys_get_temp_dir() . '/composer-test',
),
));
$svn = new SvnDriver('http://till:secret@corp.svn.local/repo', $console, $config, $process);
$svn->initialize();
}