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

Fix usage of react/promise resolve() to prepare for v3

This commit is contained in:
Jordi Boggiano 2022-03-18 09:20:42 +01:00
parent 96ad838686
commit e63e15aea8
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
24 changed files with 99 additions and 99 deletions

View file

@ -85,13 +85,13 @@ class PluginInstallerTest extends TestCase
->getMock();
$dm->expects($this->any())
->method('install')
->will($this->returnValue(\React\Promise\resolve()));
->will($this->returnValue(\React\Promise\resolve(null)));
$dm->expects($this->any())
->method('update')
->will($this->returnValue(\React\Promise\resolve()));
->will($this->returnValue(\React\Promise\resolve(null)));
$dm->expects($this->any())
->method('remove')
->will($this->returnValue(\React\Promise\resolve()));
->will($this->returnValue(\React\Promise\resolve(null)));
$this->repository = $this->getMockBuilder('Composer\Repository\InstalledRepositoryInterface')->getMock();