1
0
Fork 0

Merge pull request #8223 from adaamz/fix-phpstan-error

Fixed test after merge
pull/6942/head^2
Jordi Boggiano 2019-07-19 11:36:38 +02:00 committed by GitHub
commit 18325969e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,9 @@ class ComposerRepositoryTest extends TestCase
$repository = new ComposerRepository( $repository = new ComposerRepository(
array('url' => $repositoryUrl), array('url' => $repositoryUrl),
new NullIO(), new NullIO(),
FactoryMock::createConfig() FactoryMock::createConfig(),
$this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(),
$this->getMockBuilder('Composer\EventDispatcher\EventDispatcher')->disableOriginalConstructor()->getMock()
); );
$object = new \ReflectionObject($repository); $object = new \ReflectionObject($repository);