mirror of
https://github.com/composer/composer
synced 2025-05-11 09:32:55 +00:00
Persist prefer-lowest in composer.lock
This commit is contained in:
parent
98b254a3ec
commit
e821ac2772
14 changed files with 45 additions and 13 deletions
|
@ -135,9 +135,10 @@ class LockerTest extends \PHPUnit_Framework_TestCase
|
|||
'platform' => array(),
|
||||
'platform-dev' => array(),
|
||||
'prefer-stable' => false,
|
||||
'prefer-lowest' => false,
|
||||
));
|
||||
|
||||
$locker->setLockData(array($package1, $package2), array(), array(), array(), array(), 'dev', array(), false);
|
||||
$locker->setLockData(array($package1, $package2), array(), array(), array(), array(), 'dev', array(), false, false);
|
||||
}
|
||||
|
||||
public function testLockBadPackages()
|
||||
|
@ -156,7 +157,7 @@ class LockerTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
$this->setExpectedException('LogicException');
|
||||
|
||||
$locker->setLockData(array($package1), array(), array(), array(), array(), 'dev', array(), false);
|
||||
$locker->setLockData(array($package1), array(), array(), array(), array(), 'dev', array(), false, false);
|
||||
}
|
||||
|
||||
public function testIsFresh()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue