mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add support for stabilities in lock file
This commit is contained in:
parent
a3018c43eb
commit
0936670213
3 changed files with 40 additions and 13 deletions
|
@ -157,9 +157,11 @@ class LockerTest extends \PHPUnit_Framework_TestCase
|
|||
),
|
||||
'packages-dev' => array(),
|
||||
'aliases' => array(),
|
||||
'minimum-stability' => 'dev',
|
||||
'stability-flags' => array(),
|
||||
));
|
||||
|
||||
$locker->setLockData(array($package1, $package2), array(), array());
|
||||
$locker->setLockData(array($package1, $package2), array(), array(), 'dev', array());
|
||||
}
|
||||
|
||||
public function testLockBadPackages()
|
||||
|
@ -177,7 +179,7 @@ class LockerTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
$this->setExpectedException('LogicException');
|
||||
|
||||
$locker->setLockData(array($package1), array(), array());
|
||||
$locker->setLockData(array($package1), array(), array(), 'dev', array());
|
||||
}
|
||||
|
||||
public function testIsFresh()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue