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

Fix remove tests

This commit is contained in:
Jordi Boggiano 2020-01-17 10:27:12 +01:00
parent e162cc6f0a
commit b5e34ca767
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 1 additions and 26 deletions

View file

@ -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()
);