Removed now useless test
This commit is contained in:
parent
21cf0ac5d7
commit
3223c5a1f3
@ -61,15 +61,6 @@ class ContainerAwareEventDispatcherTest extends \PHPUnit_Framework_TestCase
|
||||
$dispatcher->dispatch('onEvent', $event);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \InvalidArgumentException
|
||||
*/
|
||||
public function testTriggerASubscriberDoesntImplementInterface()
|
||||
{
|
||||
$dispatcher = new ContainerAwareEventDispatcher(new Container());
|
||||
$dispatcher->addSubscriberService('service.subscriber', 'Symfony\Bundle\FrameworkBundle\Tests\Service');
|
||||
}
|
||||
|
||||
public function testPreventDuplicateListenerService()
|
||||
{
|
||||
$event = new Event();
|
||||
|
Reference in New Issue
Block a user