소스 검색

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 {