瀏覽代碼

Fix xz tests

Jordi Boggiano 9 年之前
父節點
當前提交
5214620f05
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tests/Composer/Test/Downloader/XzDownloaderTest.php

+ 4 - 0
tests/Composer/Test/Downloader/XzDownloaderTest.php

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