minor #12093 [EventDispatcher] fix RegisterListenersPass test (xabbuh)
This PR was merged into the 2.5 branch.
Discussion
----------
[EventDispatcher] fix RegisterListenersPass test
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
With #12088 being merged, the test needs to be adapted to reflect the 2.5 specific changes.
Commits
-------
9d2120b
fix RegisterListenersPass test
This commit is contained in:
commit
adbde8ac7a
|
@ -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')
|
||||
|
|
Reference in New Issue