[DependencyInjection] Removed outdated FIXME comments.
This commit is contained in:
parent
2e650b16ea
commit
44f932270a
@ -403,7 +403,6 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase
|
|||||||
$container->setResourceTracking(false);
|
$container->setResourceTracking(false);
|
||||||
$config = new ContainerBuilder(new ParameterBag(array('foo' => '%bar%')));
|
$config = new ContainerBuilder(new ParameterBag(array('foo' => '%bar%')));
|
||||||
$container->merge($config);
|
$container->merge($config);
|
||||||
////// FIXME
|
|
||||||
$container->compile();
|
$container->compile();
|
||||||
$this->assertEquals(array('bar' => 'foo', 'foo' => 'foo'), $container->getParameterBag()->all(), '->merge() evaluates the values of the parameters towards already defined ones');
|
$this->assertEquals(array('bar' => 'foo', 'foo' => 'foo'), $container->getParameterBag()->all(), '->merge() evaluates the values of the parameters towards already defined ones');
|
||||||
|
|
||||||
@ -411,7 +410,6 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase
|
|||||||
$container->setResourceTracking(false);
|
$container->setResourceTracking(false);
|
||||||
$config = new ContainerBuilder(new ParameterBag(array('foo' => '%bar%', 'baz' => '%foo%')));
|
$config = new ContainerBuilder(new ParameterBag(array('foo' => '%bar%', 'baz' => '%foo%')));
|
||||||
$container->merge($config);
|
$container->merge($config);
|
||||||
////// FIXME
|
|
||||||
$container->compile();
|
$container->compile();
|
||||||
$this->assertEquals(array('bar' => 'foo', 'foo' => 'foo', 'baz' => 'foo'), $container->getParameterBag()->all(), '->merge() evaluates the values of the parameters towards already defined ones');
|
$this->assertEquals(array('bar' => 'foo', 'foo' => 'foo', 'baz' => 'foo'), $container->getParameterBag()->all(), '->merge() evaluates the values of the parameters towards already defined ones');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user