mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Readd update-all jobs and make them available through the request
This commit is contained in:
parent
9b8e62396c
commit
3e1749fbad
4 changed files with 45 additions and 0 deletions
|
@ -46,4 +46,16 @@ class RequestTest extends TestCase
|
|||
),
|
||||
$request->getJobs());
|
||||
}
|
||||
|
||||
public function testUpdateAll()
|
||||
{
|
||||
$pool = new Pool;
|
||||
$request = new Request($pool);
|
||||
|
||||
$request->updateAll();
|
||||
|
||||
$this->assertEquals(
|
||||
array(array('cmd' => 'update-all', 'packages' => array())),
|
||||
$request->getJobs());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue