summaryrefslogtreecommitdiff
path: root/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php')
-rw-r--r--vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php b/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php
index 04f2861e33..c896facc14 100644
--- a/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php
+++ b/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php
@@ -42,10 +42,10 @@ class ImmutableEventDispatcherTest extends TestCase
$this->innerDispatcher->expects($this->once())
->method('dispatch')
- ->with('event', $event)
+ ->with($event, 'event')
->will($this->returnValue('result'));
- $this->assertSame('result', $this->dispatcher->dispatch('event', $event));
+ $this->assertSame('result', $this->dispatcher->dispatch($event, 'event'));
}
public function testGetListenersDelegates()