mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
This commit is contained in:
parent
713bc4de1d
commit
f946d8eb5a
30 changed files with 156 additions and 107 deletions
|
@ -45,7 +45,7 @@ class PerforceDriverTest extends TestCase
|
|||
$this->process = $this->getMockProcessExecutor();
|
||||
$this->httpDownloader = $this->getMockHttpDownloader();
|
||||
$this->perforce = $this->getMockPerforce();
|
||||
$this->driver = new PerforceDriver($this->repoConfig, $this->io, $this->config, $this->process, $this->httpDownloader);
|
||||
$this->driver = new PerforceDriver($this->repoConfig, $this->io, $this->config, $this->httpDownloader, $this->process);
|
||||
$this->overrideDriverInternalPerforce($this->perforce);
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ class PerforceDriverTest extends TestCase
|
|||
|
||||
public function testInitializeCapturesVariablesFromRepoConfig()
|
||||
{
|
||||
$driver = new PerforceDriver($this->repoConfig, $this->io, $this->config, $this->process, $this->httpDownloader);
|
||||
$driver = new PerforceDriver($this->repoConfig, $this->io, $this->config, $this->httpDownloader, $this->process);
|
||||
$driver->initialize();
|
||||
$this->assertEquals(self::TEST_URL, $driver->getUrl());
|
||||
$this->assertEquals(self::TEST_DEPOT, $driver->getDepot());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue