From 5214620f0504a528f6a0ee2583f125d85358221c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 10 Jan 2016 20:26:23 +0000 Subject: [PATCH] Fix xz tests --- tests/Composer/Test/Downloader/XzDownloaderTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Composer/Test/Downloader/XzDownloaderTest.php b/tests/Composer/Test/Downloader/XzDownloaderTest.php index 562142d51..2544ab938 100644 --- a/tests/Composer/Test/Downloader/XzDownloaderTest.php +++ b/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 {