From 446f1b3e3164c5fac1d4bae8f5e52383643c5af5 Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Thu, 21 Jan 2016 10:22:12 +0100 Subject: [PATCH] fix zip test --- tests/Composer/Test/Downloader/ZipDownloaderTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Composer/Test/Downloader/ZipDownloaderTest.php b/tests/Composer/Test/Downloader/ZipDownloaderTest.php index cb5a56569..07a358fb9 100644 --- a/tests/Composer/Test/Downloader/ZipDownloaderTest.php +++ b/tests/Composer/Test/Downloader/ZipDownloaderTest.php @@ -64,6 +64,10 @@ class ZipDownloaderTest extends \PHPUnit_Framework_TestCase ->with('cafile') ->will($this->returnValue(null)); $config->expects($this->at(2)) + ->method('get') + ->with('capath') + ->will($this->returnValue(null)); + $config->expects($this->at(3)) ->method('get') ->with('vendor-dir') ->will($this->returnValue($this->testDir));