|
@@ -11,7 +11,6 @@
|
|
|
|
|
|
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests;
|
|
|
|
|
|
-use Symfony\Component\DependencyInjection\Dumper\PhpDumper;
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
|
|
use Symfony\Bundle\DoctrineMongoDBBundle\DependencyInjection\DoctrineMongoDBExtension;
|
|
@@ -30,10 +29,7 @@ class ContainerTest extends TestCase
|
|
|
$container->registerExtension($loader);
|
|
|
$loader->mongodbLoad(array('mappings' => array('YamlBundle' => array())), $container);
|
|
|
|
|
|
- $dumper = new PhpDumper($container);
|
|
|
- $code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
|
|
|
- eval(str_replace('<?php', null, $code));
|
|
|
- return new \DoctrineMongoDBBundleTestsProjectServiceContainer;
|
|
|
+ return $container;
|
|
|
}
|
|
|
|
|
|
public function testContainer()
|