Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9bcea2e

Browse filesBrowse files
author
Robin Chalas
committed
fix test name
1 parent 5d0fa55 commit 9bcea2e
Copy full SHA for 9bcea2e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testDispatch()
132132
{
133133
$this->dispatcher->addListener('pre.foo', [$this->listener, 'preFoo']);
134134
$this->dispatcher->addListener('post.foo', [$this->listener, 'postFoo']);
135-
$this->dispatcher->dispatch(new ContractsEvent(), self::preFoo);
135+
$this->dispatcher->dispatch(new Event(), self::preFoo);
136136
$this->assertTrue($this->listener->preFooInvoked);
137137
$this->assertFalse($this->listener->postFooInvoked);
138138
$this->assertInstanceOf('Symfony\Component\EventDispatcher\Event', $this->dispatcher->dispatch(new Event(), 'noevent'));
@@ -146,7 +146,7 @@ public function testDispatchContractsEvent()
146146
{
147147
$this->dispatcher->addListener('pre.foo', [$this->listener, 'preFoo']);
148148
$this->dispatcher->addListener('post.foo', [$this->listener, 'postFoo']);
149-
$this->dispatcher->dispatch(new Event(), self::preFoo);
149+
$this->dispatcher->dispatch(new ContractsEvent(), self::preFoo);
150150
$this->assertTrue($this->listener->preFooInvoked);
151151
$this->assertFalse($this->listener->postFooInvoked);
152152
$this->assertInstanceOf('Symfony\Component\EventDispatcher\Event', $this->dispatcher->dispatch(new Event(), 'noevent'));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.