1
0
Fork 0

Fix tests

pull/1969/merge
Jordi Boggiano 2013-06-19 10:05:21 +02:00
parent f6aa3a6336
commit 7f2b321044
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ class ZipDownloaderTest extends \PHPUnit_Framework_TestCase
$io = $this->getMock('Composer\IO\IOInterface');
$config = $this->getMock('Composer\Config');
$config->expects($this->once())
->method('get')
->with('vendor-dir')
->will($this->returnValue(sys_get_temp_dir().'/composer-zip-test-vendor'));
$downloader = new ZipDownloader($io, $config);
try {