mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Rules of type feature are no longer needed
This commit is contained in:
parent
69b55f12ae
commit
15f43571b9
4 changed files with 13 additions and 16 deletions
|
@ -27,7 +27,7 @@ class ResultSetIteratorTest extends \PHPUnit_Framework_TestCase
|
|||
new Rule(array(), 'job1', null),
|
||||
new Rule(array(), 'job2', null),
|
||||
),
|
||||
RuleSet::TYPE_FEATURE => array(
|
||||
RuleSet::TYPE_LEARNED => array(
|
||||
new Rule(array(), 'update1', null),
|
||||
),
|
||||
RuleSet::TYPE_PACKAGE => array(),
|
||||
|
@ -46,7 +46,7 @@ class ResultSetIteratorTest extends \PHPUnit_Framework_TestCase
|
|||
$expected = array(
|
||||
$this->rules[RuleSet::TYPE_JOB][0],
|
||||
$this->rules[RuleSet::TYPE_JOB][1],
|
||||
$this->rules[RuleSet::TYPE_FEATURE][0],
|
||||
$this->rules[RuleSet::TYPE_LEARNED][0],
|
||||
);
|
||||
|
||||
$this->assertEquals($expected, $result);
|
||||
|
@ -64,7 +64,7 @@ class ResultSetIteratorTest extends \PHPUnit_Framework_TestCase
|
|||
$expected = array(
|
||||
RuleSet::TYPE_JOB,
|
||||
RuleSet::TYPE_JOB,
|
||||
RuleSet::TYPE_FEATURE,
|
||||
RuleSet::TYPE_LEARNED,
|
||||
);
|
||||
|
||||
$this->assertEquals($expected, $result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue