From 9d2120b562c639ba42a7baf2c1788cb7fca03953 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 1 Oct 2014 17:43:05 +0200 Subject: [PATCH] fix RegisterListenersPass test With #12088 being merged, the test needs to be adapted to reflect the 2.5 specific changes. --- .../Tests/DependencyInjection/RegisterListenersPassTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php b/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php index ac6fed678e..b291e1ee3c 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php @@ -74,7 +74,7 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase $builder = $this->getMock( 'Symfony\Component\DependencyInjection\ContainerBuilder', - array('hasDefinition', 'findTaggedServiceIds', 'getDefinition') + array('hasDefinition', 'findTaggedServiceIds', 'getDefinition', 'findDefinition') ); $builder->expects($this->any()) ->method('hasDefinition')