Fixing container test.

This commit is contained in:
Jonathan H. Wage 2010-10-05 02:14:07 -05:00 committed by Fabien Potencier
parent c6ed593022
commit cc3ff12bf8
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -33,7 +33,7 @@ class ContainerTest extends TestCase
$dumper = new PhpDumper($container);
$code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
eval(str_replace('<?php', null, $code));
return new \ProjectServiceContainer;
return new \DoctrineMongoDBBundleTestsProjectServiceContainer;
}
public function testContainer()