Explorar o código

Fix method name

It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
David Prévot %!s(int64=9) %!d(string=hai) anos
pai
achega
933a8e1d09
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);