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

Refactoring Tests (#6849)

This commit is contained in:
Gabriel Caruso 2017-11-30 12:58:10 -02:00 committed by Jordi Boggiano
parent ecb26c7b75
commit a4b220273e
9 changed files with 24 additions and 27 deletions

View file

@ -36,7 +36,7 @@ class FilesystemRepositoryTest extends TestCase
$packages = $repository->getPackages();
$this->assertSame(1, count($packages));
$this->assertCount(1, $packages);
$this->assertSame('package1', $packages[0]->getName());
$this->assertSame('1.0.0.0-beta', $packages[0]->getVersion());
$this->assertSame('vendor', $packages[0]->getType());