mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests and edge case
This commit is contained in:
parent
94076c0bb9
commit
d94e638461
2 changed files with 6 additions and 3 deletions
|
@ -18,6 +18,7 @@ use Composer\Installer\PluginInstaller;
|
|||
use Composer\Package\CompletePackage;
|
||||
use Composer\Package\Loader\JsonLoader;
|
||||
use Composer\Package\Loader\ArrayLoader;
|
||||
use Composer\Package\RootPackage;
|
||||
use Composer\Plugin\PluginManager;
|
||||
use Composer\IO\BufferIO;
|
||||
use Composer\EventDispatcher\EventDispatcher;
|
||||
|
@ -111,6 +112,7 @@ class PluginInstallerTest extends TestCase
|
|||
$this->composer->setInstallationManager($im);
|
||||
$this->composer->setAutoloadGenerator($this->autoloadGenerator);
|
||||
$this->composer->setEventDispatcher(new EventDispatcher($this->composer, $this->io));
|
||||
$this->composer->setPackage(new RootPackage('dummy/root', '1.0.0.0', '1.0.0'));
|
||||
|
||||
$this->pm = new PluginManager($this->io, $this->composer);
|
||||
$this->composer->setPluginManager($this->pm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue