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:
parent
6d1377838b
commit
a06ebdd8ef
3 changed files with 53 additions and 33 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue