mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Merge branch 'master' into 2.0
This commit is contained in:
commit
45ecbae8f5
64 changed files with 377 additions and 612 deletions
|
@ -66,8 +66,10 @@ class ChannelReaderTest extends TestCase
|
|||
|
||||
$reader = new \Composer\Repository\Pear\ChannelReader($httpDownloader);
|
||||
|
||||
$reader->read('http://pear.1.0.net/');
|
||||
$reader->read('http://pear.1.1.net/');
|
||||
$pear10 = $reader->read('http://pear.1.0.net/');
|
||||
$this->assertCount(2, $pear10->getPackages());
|
||||
$pear11 = $reader->read('http://pear.1.1.net/');
|
||||
$this->assertCount(3, $pear11->getPackages());
|
||||
}
|
||||
|
||||
public function testShouldCreatePackages()
|
||||
|
|
|
@ -86,7 +86,7 @@ class RepositoryManagerTest extends TestCase
|
|||
$rm->setRepositoryClass('artifact', 'Composer\Repository\ArtifactRepository');
|
||||
|
||||
$rm->createRepository('composer', array('url' => 'http://example.org'));
|
||||
$rm->createRepository($type, $options);
|
||||
$this->assertInstanceOf('Composer\Repository\RepositoryInterface', $rm->createRepository($type, $options));
|
||||
}
|
||||
|
||||
public function creationCases()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue