Skip to content

Commit 4e3b721

Browse files
[FrameworkBundle] fix tests
1 parent 38fabed commit 4e3b721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Command/EventDispatcherDebugCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ private function createCommandCompletionTester(): CommandCompletionTester
4444
$dispatcher = new EventDispatcher();
4545
$otherDispatcher = new EventDispatcher();
4646

47-
$dispatcher->addListener('event', 'Listener');
48-
$otherDispatcher->addListener('other_event', 'OtherListener');
47+
$dispatcher->addListener('event', ['Listener']);
48+
$otherDispatcher->addListener('other_event', ['OtherListener']);
4949

5050
$dispatchers = new ServiceLocator([
5151
'event_dispatcher' => function () {

0 commit comments

Comments
 (0)