mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00
Fix regression in 036fc44c25
, fixes #7268
This commit is contained in:
parent
69d25c090e
commit
43e33be79f
3 changed files with 7 additions and 9 deletions
|
@ -68,7 +68,7 @@ class ArrayRepositoryTest extends TestCase
|
|||
$this->assertEquals('bar', $bar[0]->getName());
|
||||
}
|
||||
|
||||
public function testAutomaticallyAddAndRemoveAliasedPackage()
|
||||
public function testAutomaticallyAddAliasedPackageButNotRemove()
|
||||
{
|
||||
$repo = new ArrayRepository();
|
||||
|
||||
|
@ -83,7 +83,7 @@ class ArrayRepositoryTest extends TestCase
|
|||
|
||||
$repo->removePackage($alias);
|
||||
|
||||
$this->assertCount(0, $repo);
|
||||
$this->assertCount(1, $repo);
|
||||
}
|
||||
|
||||
public function testSearch()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue