Browse Source

Merge pull request #5126 from DavidPrevot/equals

Fix method name
Jordi Boggiano 9 years ago
parent
commit
e8b1a5f357
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Composer/Test/DependencyResolver/RuleSetTest.php

+ 1 - 1
tests/Composer/Test/DependencyResolver/RuleSetTest.php

@@ -145,7 +145,7 @@ class RuleSetTest extends TestCase
             ->method('getHash')
             ->will($this->returnValue('rule_1_hash'));
         $rule3->expects($this->any())
-            ->method('equal')
+            ->method('equals')
             ->will($this->returnValue(false));
 
         $ruleSet->add($rule, RuleSet::TYPE_LEARNED);