1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix method name

It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
This commit is contained in:
David Prévot 2016-03-28 23:31:39 -04:00
parent 37a1e12672
commit 933a8e1d09

View file

@ -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);