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

Improve error reporting when failing to load a package, fixes #9680

This commit is contained in:
Jordi Boggiano 2021-02-10 11:24:07 +01:00
parent 6a869ede77
commit 902174d2a7
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 30 additions and 17 deletions

View file

@ -55,7 +55,7 @@ class ComposerRepositoryTest extends TestCase
$repository
->expects($this->at(2))
->method('createPackages')
->with($this->identicalTo($expected), $this->equalTo('Composer\Package\CompletePackage'))
->with($this->identicalTo($expected), $this->equalTo('root file (http://example.org/packages.json)'))
->will($this->returnValue($stubs));
// Triggers initialization