mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Allow querying InstalledVersions::isInstalled() for no-dev packages
This commit is contained in:
parent
03e8cacd12
commit
7d4501816c
6 changed files with 37 additions and 11 deletions
|
@ -130,6 +130,7 @@ class FilesystemRepositoryTest extends TestCase
|
|||
$rootPackage = $this->getAliasPackage($rootPackage, '1.10.x-dev');
|
||||
|
||||
$repository = new FilesystemRepository($json, true, $rootPackage);
|
||||
$repository->setDevPackageNames(array('c/c'));
|
||||
$pkg = $this->getPackage('a/provider', '1.1');
|
||||
$this->configureLinks($pkg, array('provide' => array('foo/impl' => '^1.1', 'foo/impl2' => '2.0')));
|
||||
$pkg->setDistReference('distref-as-no-source');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue