Revert "[DepedencyInjection] fixed unit tests"
This reverts commit b8e5a155e4
.
This commit is contained in:
parent
604d066b52
commit
27fc06785b
@ -1,5 +0,0 @@
|
||||
[parameters]
|
||||
foo = bar
|
||||
versions[] = "1"
|
||||
versions[] = "2"
|
||||
versions[] = "3"
|
@ -1,3 +1,6 @@
|
||||
[parameters]
|
||||
foo = bar
|
||||
bar = %foo%
|
||||
versions[] = "1"
|
||||
versions[] = "2"
|
||||
versions[] = "3"
|
||||
|
@ -33,12 +33,7 @@ class IniFileLoaderTest extends \PHPUnit_Framework_TestCase
|
||||
$container = new ContainerBuilder();
|
||||
$loader = new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/ini'));
|
||||
$loader->load('parameters.ini');
|
||||
$this->assertEquals(array('foo' => 'bar', 'bar' => '%foo%'), $container->getParameterBag()->all(), '->load() takes a single file name as its first argument');
|
||||
|
||||
$container = new ContainerBuilder();
|
||||
$loader = new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/ini'));
|
||||
$loader->load('array.ini');
|
||||
$this->assertEquals(array('foo' => 'bar', 'versions' => array(1, 2, 3)), $container->getParameterBag()->all(), '->load() takes a single file name as its first argument');
|
||||
$this->assertEquals(array('foo' => 'bar', 'bar' => '%foo%', 'versions' => array(1, 2, 3)), $container->getParameterBag()->all(), '->load() takes a single file name as its first argument');
|
||||
|
||||
$container = new ContainerBuilder();
|
||||
$loader = new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/ini'));
|
||||
|
Reference in New Issue
Block a user