Fixed unit tests

This commit is contained in:
William DURAND 2011-07-30 20:37:54 +02:00
parent abbe60830c
commit 031375df6e

View file

@ -29,19 +29,6 @@ class PropelExtensionTest extends TestCase
'->load() throws an \InvalidArgumentException if the Propel path is not set');
}
$container = $this->getContainer();
$loader = new PropelExtension();
try {
$loader->load(array(array(
'path' => '/propel',
'phing_path' => '/phing',
)), $container);
$this->fail();
} catch (\Exception $e) {
$this->assertInstanceOf('InvalidArgumentException', $e,
'->load() throws an \InvalidArgumentException if a "dbal" configuration is not set.');
}
$container = $this->getContainer();
$loader = new PropelExtension();
try {