|
@@ -213,28 +213,6 @@ class SolverTest extends \PHPUnit_Framework_TestCase
|
|
|
));
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @TODO: fix packagist.org bug
|
|
|
- */
|
|
|
- public function BROKEN_testSolverWithComposerRepo()
|
|
|
- {
|
|
|
- $this->repoInstalled = new PlatformRepository;
|
|
|
-
|
|
|
- // overwrite solver with custom installed repo
|
|
|
- $this->solver = new Solver($this->policy, $this->pool, $this->repoInstalled);
|
|
|
-
|
|
|
- $this->repo = new ComposerRepository('http://packagist.org');
|
|
|
- list($monolog) = $this->repo->getPackages();
|
|
|
-
|
|
|
- $this->reposComplete();
|
|
|
-
|
|
|
- $this->request->install('Monolog');
|
|
|
-
|
|
|
- $this->checkSolverResult(array(
|
|
|
- array('job' => 'install', 'package' => $monolog),
|
|
|
- ));
|
|
|
- }
|
|
|
-
|
|
|
protected function reposComplete()
|
|
|
{
|
|
|
$this->pool->addRepository($this->repoInstalled);
|