fixed tests
This commit is contained in:
parent
8a870c24a6
commit
b08115bd63
@ -154,7 +154,7 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$container = new ContainerBuilder();
|
$container = new ContainerBuilder();
|
||||||
|
|
||||||
$container->setParameter('subscriber.class', 'Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService');
|
$container->setParameter('subscriber.class', 'Symfony\Component\HttpKernel\Tests\DependencyInjection\SubscriberService');
|
||||||
$container->register('foo', '%subscriber.class%')->addTag('kernel.event_subscriber', array());
|
$container->register('foo', '%subscriber.class%')->addTag('kernel.event_subscriber', array());
|
||||||
$container->register('event_dispatcher', 'stdClass');
|
$container->register('event_dispatcher', 'stdClass');
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase
|
|||||||
'addSubscriberService',
|
'addSubscriberService',
|
||||||
array(
|
array(
|
||||||
'foo',
|
'foo',
|
||||||
'Symfony\Component\EventDispatcher\Tests\DependencyInjection\SubscriberService',
|
'Symfony\Component\HttpKernel\Tests\DependencyInjection\SubscriberService',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user