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

View File

@ -74,7 +74,7 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase
$builder = $this->getMock( $builder = $this->getMock(
'Symfony\Component\DependencyInjection\ContainerBuilder', 'Symfony\Component\DependencyInjection\ContainerBuilder',
array('hasDefinition', 'findTaggedServiceIds', 'getDefinition') array('hasDefinition', 'findTaggedServiceIds', 'getDefinition', 'findDefinition')
); );
$builder->expects($this->any()) $builder->expects($this->any())
->method('hasDefinition') ->method('hasDefinition')