fix RegisterListenersPass test

With #12088 being merged, the test needs to be adapted to reflect the
2.5 specific changes.
This commit is contained in:
Christian Flothmann 2014-10-01 17:43:05 +02:00
parent cfd1ecfe84
commit 9d2120b562
1 changed files with 1 additions and 1 deletions

View File

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