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

@ -196,28 +196,6 @@ class SolverTest extends TestCase
$this->checkSolverResult(array());
}
public function testSolverRemoveSingle()
{
$this->repoLocked->addPackage($packageA = $this->getPackage('A', '1.0'));
$this->reposComplete();
$this->request->remove('A');
$this->checkSolverResult(array(
array('job' => 'remove', 'package' => $packageA),
));
}
public function testSolverRemoveUninstalled()
{
$this->repo->addPackage($this->getPackage('A', '1.0'));
$this->reposComplete();
$this->request->remove('A');
$this->checkSolverResult(array());
}
public function testSolverUpdateDoesOnlyUpdate()
{
$this->repoLocked->addPackage($packageA = $this->getPackage('A', '1.0'));
@ -367,7 +345,6 @@ class SolverTest extends TestCase
$this->request->install('A');
$this->request->install('C');
$this->request->remove('D');
$this->checkSolverResult(array(
array('job' => 'remove', 'package' => $packageD),