From 1ea3111583f11481d3e5b63395d1e478bca88461 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 2 Jun 2020 13:12:15 +0200 Subject: [PATCH] Use RULE_LEARNED instead of RULE_FIXED --- tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php | 2 +- tests/Composer/Test/DependencyResolver/RuleSetTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php b/tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php index 381fbb6e5..ffcae5668 100644 --- a/tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php +++ b/tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php @@ -35,7 +35,7 @@ class RuleSetIteratorTest extends TestCase new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, null), ), RuleSet::TYPE_LEARNED => array( - new GenericRule(array(), Rule::RULE_FIXED, null), + new GenericRule(array(), Rule::RULE_LEARNED, null), ), RuleSet::TYPE_PACKAGE => array(), ); diff --git a/tests/Composer/Test/DependencyResolver/RuleSetTest.php b/tests/Composer/Test/DependencyResolver/RuleSetTest.php index 12c91837b..966044bb6 100644 --- a/tests/Composer/Test/DependencyResolver/RuleSetTest.php +++ b/tests/Composer/Test/DependencyResolver/RuleSetTest.php @@ -31,7 +31,7 @@ class RuleSetTest extends TestCase new GenericRule(array(2), Rule::RULE_ROOT_REQUIRE, null), ), RuleSet::TYPE_LEARNED => array( - new GenericRule(array(), Rule::RULE_FIXED, null), + new GenericRule(array(), Rule::RULE_LEARNED, null), ), );