Skip to content

Commit 96a1726

Browse files
Fix tests.
1 parent 9a47399 commit 96a1726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FetcherTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ 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');
7070
}
7171

7272
public function testInitialFetch() {
73-
$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']);
73+
$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());
7474
$fetcher->fetch('8.1.1', $this->tmpDir);
7575
$this->assertFileExists($this->tmpDir . '/sites/default/settings.php');
7676
}

0 commit comments

Comments
 (0)