1
0
Fork 0

Fix xz tests

pull/4759/head
Jordi Boggiano 2016-01-10 20:26:23 +00:00
parent e4eee227e0
commit 5214620f05
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ class XzDownloaderTest extends \PHPUnit_Framework_TestCase
->method('get') ->method('get')
->with('vendor-dir') ->with('vendor-dir')
->will($this->returnValue($this->testDir)); ->will($this->returnValue($this->testDir));
$config->expects($this->any())
->method('get')
->with('disable-tls')
->will($this->returnValue(false));
$downloader = new XzDownloader($io, $config); $downloader = new XzDownloader($io, $config);
try { try {