1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Move root package handling to a dedicated loader and make ArrayLoader more strict

This commit is contained in:
Jordi Boggiano 2011-12-12 21:46:21 +01:00 committed by Nils Adermann
parent a2caa7c5e6
commit f6b9488bf0
14 changed files with 86 additions and 62 deletions

View file

@ -18,8 +18,7 @@ class ArrayLoaderTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
$this->manager = $this->getMock('Composer\Repository\RepositoryManager');
$this->loader = new ArrayLoader($this->manager);
$this->loader = new ArrayLoader();
}
public function testSelfVersion()