1
0
Fork 0
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:
Jordi Boggiano 2018-05-03 17:30:19 +02:00
parent 69d25c090e
commit 43e33be79f
3 changed files with 7 additions and 9 deletions

View file

@ -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()