fixed tests
This commit is contained in:
parent
51a71ab74a
commit
2fc80cce12
@ -59,8 +59,8 @@ class ReplaceAliasByActualDefinitionPassTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$container = new ContainerBuilder();
|
||||
|
||||
$container->register('a', 'FooClass');
|
||||
$container->register('b', 'FooClass')
|
||||
$container->register('a', 'Bar\FooClass');
|
||||
$container->register('b', 'Bar\FooClass')
|
||||
->setFactoryService('a')
|
||||
->setFactoryMethod('getInstance');
|
||||
|
||||
@ -69,7 +69,7 @@ class ReplaceAliasByActualDefinitionPassTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
$this->process($container);
|
||||
|
||||
$this->assertInstanceOf('FooClass', $container->get('b'));
|
||||
$this->assertInstanceOf('Bar\FooClass', $container->get('b'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user