1
0
Fork 0

Merge pull request #10055 from jrfnl/feature/php-8.1-fix-missing-mock-expectation

PHP 8.1/LibraryInstallerTest: add missing mock expectation
pull/10065/head
Jordi Boggiano 2021-08-18 14:31:30 +02:00 committed by GitHub
commit 9708f4568f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -201,6 +201,10 @@ class LibraryInstallerTest extends TestCase
->expects($this->any())
->method('getPrettyName')
->will($this->returnValue('pkg'));
$package
->expects($this->any())
->method('getName')
->will($this->returnValue('pkg'));
$this->repository
->expects($this->exactly(2))