mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix test
This commit is contained in:
parent
bdf1f7f82b
commit
8fe2b9ec69
1 changed files with 7 additions and 1 deletions
|
@ -99,7 +99,13 @@ class ComposerRepositoryTest extends TestCase
|
|||
public function testWhatProvides()
|
||||
{
|
||||
$repo = $this->getMockBuilder('Composer\Repository\ComposerRepository')
|
||||
->disableOriginalConstructor()
|
||||
->setConstructorArgs(array(
|
||||
array('url' => 'https://dummy.test.link'),
|
||||
new NullIO,
|
||||
FactoryMock::createConfig(),
|
||||
$this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(),
|
||||
$this->getMockBuilder('Composer\EventDispatcher\EventDispatcher')->disableOriginalConstructor()->getMock()
|
||||
))
|
||||
->setMethods(array('fetchFile'))
|
||||
->getMock();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue