1
0
Fork 0

Fix method name

It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
pull/5126/head
David Prévot 2016-03-28 23:31:39 -04:00
parent 37a1e12672
commit 933a8e1d09
1 changed files with 1 additions and 1 deletions

View File

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