mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Refactoring Tests (#6849)
This commit is contained in:
parent
ecb26c7b75
commit
a4b220273e
9 changed files with 24 additions and 27 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue