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:
parent
6a869ede77
commit
902174d2a7
2 changed files with 30 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue