Fixing container test.
This commit is contained in:
parent
c6ed593022
commit
cc3ff12bf8
|
@ -34,7 +34,7 @@ class ContainerTest extends TestCase
|
||||||
$dumper = new PhpDumper($container);
|
$dumper = new PhpDumper($container);
|
||||||
$code = $dumper->dump(array('class' => 'DoctrineBundleTestsProjectServiceContainer'));
|
$code = $dumper->dump(array('class' => 'DoctrineBundleTestsProjectServiceContainer'));
|
||||||
eval(str_replace('<?php', null, $code));
|
eval(str_replace('<?php', null, $code));
|
||||||
return new \ProjectServiceContainer;
|
return new \DoctrineBundleTestsProjectServiceContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testContainer()
|
public function testContainer()
|
||||||
|
|
|
@ -33,7 +33,7 @@ class ContainerTest extends TestCase
|
||||||
$dumper = new PhpDumper($container);
|
$dumper = new PhpDumper($container);
|
||||||
$code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
|
$code = $dumper->dump(array('class' => 'DoctrineMongoDBBundleTestsProjectServiceContainer'));
|
||||||
eval(str_replace('<?php', null, $code));
|
eval(str_replace('<?php', null, $code));
|
||||||
return new \ProjectServiceContainer;
|
return new \DoctrineMongoDBBundleTestsProjectServiceContainer;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testContainer()
|
public function testContainer()
|
||||||
|
|
Reference in New Issue