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:
parent
96ad838686
commit
e63e15aea8
24 changed files with 99 additions and 99 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue