8000 Removed now useless test · symfony/symfony@3223c5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3223c5a

Browse files
committed
Removed now useless test
1 parent 21cf0ac commit 3223c5a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/ContainerAwareEventDispatcherTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@ public function testAddASubscriberService()
6161
$dispatcher->dispatch('onEvent', $event);
6262
}
6363

64-
/**
65-
* @expectedException \InvalidArgumentException
66-
*/
67-
public function testTriggerASubscriberDoesntImplementInterface()
68-
{
69-
$dispatcher = new ContainerAwareEventDispatcher(new Container());
70-
$dispatcher->addSubscriberService('service.subscriber', 'Symfony\Bundle\FrameworkBundle\Tests\Service');
71-
}
72-
7364
public function testPreventDuplicateListenerService()
7465
{
7566
$event = new Event();

0 commit comments

Comments
 (0)
0