From 933a8e1d0934c38c83f7dc702d02a2484fb19d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Pr=C3=A9vot?= Date: Mon, 28 Mar 2016 23:31:39 -0400 Subject: [PATCH] Fix method name It makes the test fail with recent (>= 3.1) phpunit-mock-objects version. --- tests/Composer/Test/DependencyResolver/RuleSetTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/DependencyResolver/RuleSetTest.php b/tests/Composer/Test/DependencyResolver/RuleSetTest.php index c1eb83e5e..b60b6c7a5 100644 --- a/tests/Composer/Test/DependencyResolver/RuleSetTest.php +++ b/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);