fixed unit tests

This commit is contained in:
Fabien Potencier 2010-10-05 09:05:29 +02:00
parent 3bc3115d8c
commit c6ed593022
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ class ContainerTest extends TestCase
$loader->ormLoad(array(), $container);
$dumper = new PhpDumper($container);
$code = $dumper->dump();
$code = $dumper->dump(array('class' => 'DoctrineBundleTestsProjectServiceContainer'));
eval(str_replace('<?php', null, $code));
return new \ProjectServiceContainer;
}

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\DoctrineBundle\Tests;
namespace Symfony\Bundle\DoctrineMongoDBBundle\Tests;
use Symfony\Component\DependencyInjection\Dumper\PhpDumper;
use Symfony\Component\DependencyInjection\ContainerBuilder;
@ -31,7 +31,7 @@ class ContainerTest extends TestCase
$loader->mongodbLoad(array(), $container);
$dumper = new PhpDumper($container);
$code = $dumper->dump();
$code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
eval(str_replace('<?php', null, $code));
return new \ProjectServiceContainer;
}