Browse Source

Fix method name

It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
David Prévot 9 years ago
parent
commit
933a8e1d09
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);