1
0
Fork 0

Use RULE_LEARNED instead of RULE_FIXED

pull/8937/head
Jordi Boggiano 2020-06-02 13:12:15 +02:00
parent 7a97741aae
commit 1ea3111583
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class RuleSetIteratorTest extends TestCase
new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, null), new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, null),
), ),
RuleSet::TYPE_LEARNED => array( RuleSet::TYPE_LEARNED => array(
new GenericRule(array(), Rule::RULE_FIXED, null), new GenericRule(array(), Rule::RULE_LEARNED, null),
), ),
RuleSet::TYPE_PACKAGE => array(), RuleSet::TYPE_PACKAGE => array(),
); );

View File

@ -31,7 +31,7 @@ class RuleSetTest extends TestCase
new GenericRule(array(2), Rule::RULE_ROOT_REQUIRE, null), new GenericRule(array(2), Rule::RULE_ROOT_REQUIRE, null),
), ),
RuleSet::TYPE_LEARNED => array( RuleSet::TYPE_LEARNED => array(
new GenericRule(array(), Rule::RULE_FIXED, null), new GenericRule(array(), Rule::RULE_LEARNED, null),
), ),
); );