Browse Source

Fix factory test

Jordi Boggiano 6 years ago
parent
commit
09fd239f24
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/Composer/Util/HttpDownloader.php
  2. 1 1
      tests/Composer/Test/FactoryTest.php

+ 1 - 0
src/Composer/Util/HttpDownloader.php

@@ -32,6 +32,7 @@ class HttpDownloader
     private $io;
     private $config;
     private $jobs = array();
+    private $options = array();
     private $index;
     private $progress;
     private $lastProgress;

+ 1 - 1
tests/Composer/Test/FactoryTest.php

@@ -35,6 +35,6 @@ class FactoryTest extends TestCase
             ->with($this->equalTo('disable-tls'))
             ->will($this->returnValue(true));
 
-        Factory::createRemoteFilesystem($ioMock, $config);
+        Factory::createHttpDownloader($ioMock, $config);
     }
 }