Fix method name

It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
main
David Prévot 8 years ago
parent 37a1e12672
commit 933a8e1d09

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

Loading…
Cancel
Save