Fixed unit tests
This commit is contained in:
parent
abbe60830c
commit
031375df6e
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue