@@ -63,7 +63,7 @@ protected function ensureDirectoryExistsAndClear($directory) {
6363 }
6464
6565 public function testFetch () {
66- $ fetcher = new FileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['.htaccess ' , 'sites/default/default.settings.php ' ]);
66+ $ fetcher = new FileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['.htaccess ' , 'sites/default/default.settings.php ' ], new NullIO () );
6767 $ fetcher ->fetch ('8.1.1 ' , $ this ->tmpDir );
6868 $ this ->assertFileExists ($ this ->tmpDir . '/.htaccess ' );
6969 $ this ->assertFileExists ($ this ->tmpDir . '/sites/default/default.settings.php ' );
@@ -73,7 +73,7 @@ public function testFetch() {
7373 * Tests version specific files.
7474 */
7575 public function testFetchVersionSpecific () {
76- $ fetcher = new FileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['.eslintrc ' , '.eslintrc.json ' ]);
76+ $ fetcher = new FileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['.eslintrc ' , '.eslintrc.json ' ], new NullIO () );
7777
7878 $ this ->setExpectedException (TransportException::class);
7979 $ fetcher ->fetch ('8.2.x ' , $ this ->tmpDir );
@@ -92,7 +92,7 @@ public function testFetchVersionSpecific() {
9292 }
9393
9494 public function testInitialFetch () {
95- $ fetcher = new InitialFileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['sites/default/default.settings.php ' => 'sites/default/settings.php ' ]);
95+ $ fetcher = new InitialFileFetcher (new RemoteFilesystem (new NullIO ()), 'http://cgit.drupalcode.org/drupal/plain/{path}?h={version} ' , ['sites/default/default.settings.php ' => 'sites/default/settings.php ' ], new NullIO () );
9696 $ fetcher ->fetch ('8.1.1 ' , $ this ->tmpDir );
9797 $ this ->assertFileExists ($ this ->tmpDir . '/sites/default/settings.php ' );
9898 }
0 commit comments