diff --git a/Tests/ContainerTest.php b/Tests/ContainerTest.php index 161a5c580..d5b9d7287 100644 --- a/Tests/ContainerTest.php +++ b/Tests/ContainerTest.php @@ -37,7 +37,7 @@ protected function setUp() public function testContainer() { - $container = $this->createYamlBundleTestContainer(); + $container = $this->createXmlBundleTestContainer(); $this->assertInstanceOf(DbalLogger::class, $container->get('doctrine.dbal.logger')); $this->assertInstanceOf(DoctrineDataCollector::class, $container->get('data_collector.doctrine')); diff --git a/Tests/TestCase.php b/Tests/TestCase.php index 6822f2a33..27cdb59db 100644 --- a/Tests/TestCase.php +++ b/Tests/TestCase.php @@ -25,12 +25,12 @@ protected function setUp() $this->markTestSkipped('Doctrine is not available.'); } - public function createYamlBundleTestContainer() + public function createXmlBundleTestContainer() { $container = new ContainerBuilder(new ParameterBag([ 'kernel.name' => 'app', 'kernel.debug' => false, - 'kernel.bundles' => ['YamlBundle' => 'Fixtures\Bundles\YamlBundle\YamlBundle'], + 'kernel.bundles' => ['XmlBundle' => 'Fixtures\Bundles\XmlBundle\XmlBundle'], 'kernel.cache_dir' => sys_get_temp_dir(), 'kernel.environment' => 'test', 'kernel.root_dir' => __DIR__ . '/../../../../', // src dir @@ -63,10 +63,10 @@ public function createYamlBundleTestContainer() 'entity_managers' => [ 'default' => [ 'mappings' => [ - 'YamlBundle' => [ - 'type' => 'yml', - 'dir' => __DIR__ . '/DependencyInjection/Fixtures/Bundles/YamlBundle/Resources/config/doctrine', - 'prefix' => 'Fixtures\Bundles\YamlBundle\Entity', + 'XmlBundle' => [ + 'type' => 'xml', + 'dir' => __DIR__ . '/DependencyInjection/Fixtures/Bundles/XmlBundle/Resources/config/doctrine', + 'prefix' => 'Fixtures\Bundles\XmlBundle\Entity', ], ], ],