1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Merge branch 'master' into 2.0

This commit is contained in:
Jordi Boggiano 2020-02-28 12:51:04 +01:00
commit 9cab8c10cc
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
8 changed files with 83 additions and 24 deletions

View file

@ -13,6 +13,7 @@
namespace Composer\Test\Package;
use Composer\Package\Locker;
use Composer\Plugin\PluginInterface;
use Composer\IO\NullIO;
use Composer\Test\TestCase;
@ -150,6 +151,7 @@ class LockerTest extends TestCase
'platform-overrides' => array('foo/bar' => '1.0'),
'prefer-stable' => false,
'prefer-lowest' => false,
'plugin-api-version' => PluginInterface::PLUGIN_API_VERSION,
));
$locker->setLockData(array($package1, $package2), array(), array(), array(), array(), 'dev', array(), false, false, array('foo/bar' => '1.0'));