mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix remove tests
This commit is contained in:
parent
e162cc6f0a
commit
b5e34ca767
2 changed files with 1 additions and 26 deletions
|
@ -18,7 +18,7 @@ use Composer\Test\TestCase;
|
|||
|
||||
class RequestTest extends TestCase
|
||||
{
|
||||
public function testRequestInstallAndRemove()
|
||||
public function testRequestInstall()
|
||||
{
|
||||
$repo = new ArrayRepository;
|
||||
$foo = $this->getPackage('foo', '1');
|
||||
|
@ -31,12 +31,10 @@ class RequestTest extends TestCase
|
|||
|
||||
$request = new Request();
|
||||
$request->install('foo');
|
||||
$request->remove('foobar');
|
||||
|
||||
$this->assertEquals(
|
||||
array(
|
||||
array('cmd' => 'install', 'packageName' => 'foo', 'constraint' => null),
|
||||
array('cmd' => 'remove', 'packageName' => 'foobar', 'constraint' => null),
|
||||
),
|
||||
$request->getJobs()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue