[DI] minor FileLoaders tests update

This commit is contained in:
Maxime Steinhausser 2016-11-23 22:37:45 +01:00
parent 30d161c0ae
commit 412fbe613f
2 changed files with 4 additions and 4 deletions

View File

@ -131,8 +131,8 @@ class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
{
$container = new ContainerBuilder();
$resolver = new LoaderResolver(array(
new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/xml')),
new YamlFileLoader($container, new FileLocator(self::$fixturesPath.'/xml')),
new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/ini')),
new YamlFileLoader($container, new FileLocator(self::$fixturesPath.'/yml')),
$loader = new XmlFileLoader($container, new FileLocator(self::$fixturesPath.'/xml')),
));
$loader->setResolver($resolver);

View File

@ -104,8 +104,8 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
{
$container = new ContainerBuilder();
$resolver = new LoaderResolver(array(
new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/yaml')),
new XmlFileLoader($container, new FileLocator(self::$fixturesPath.'/yaml')),
new IniFileLoader($container, new FileLocator(self::$fixturesPath.'/ini')),
new XmlFileLoader($container, new FileLocator(self::$fixturesPath.'/xml')),
new PhpFileLoader($container, new FileLocator(self::$fixturesPath.'/php')),
$loader = new YamlFileLoader($container, new FileLocator(self::$fixturesPath.'/yaml')),
));