mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix tests
This commit is contained in:
parent
d7b77b9e87
commit
5e52d5c1ad
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@ class FilesystemRepositoryTest extends \PHPUnit_Framework_TestCase
|
|||
$json = $this->createJsonFileMock();
|
||||
|
||||
$repository = new FilesystemRepository($json);
|
||||
$repository->setRepositoryManager($this->getMock('Composer\Repository\RepositoryManager'));
|
||||
|
||||
$json
|
||||
->expects($this->once())
|
||||
|
@ -47,6 +48,7 @@ class FilesystemRepositoryTest extends \PHPUnit_Framework_TestCase
|
|||
$json = $this->createJsonFileMock();
|
||||
|
||||
$repository = new FilesystemRepository($json);
|
||||
$repository->setRepositoryManager($this->getMock('Composer\Repository\RepositoryManager'));
|
||||
|
||||
$json
|
||||
->expects($this->once())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue