|
@@ -94,8 +94,10 @@ abstract class Zend_Db_Statement_Pdo_TestCommon extends Zend_Db_Statement_TestCo
|
|
|
} catch (Zend_Exception $e) {
|
|
} catch (Zend_Exception $e) {
|
|
|
$this->assertType('Zend_Db_Statement_Exception', $e,
|
|
$this->assertType('Zend_Db_Statement_Exception', $e,
|
|
|
'Expecting object of type Zend_Db_Statement_Exception, got '.get_class($e));
|
|
'Expecting object of type Zend_Db_Statement_Exception, got '.get_class($e));
|
|
|
- $this->assertTrue($e->hasChainedException());
|
|
|
|
|
- $this->assertType('PDOException', $e->getChainedException());
|
|
|
|
|
|
|
+// $this->assertTrue($e->hasChainedException());
|
|
|
|
|
+// $this->assertType('PDOException', $e->getChainedException());
|
|
|
|
|
+ $this->assertTrue($e->hasChainedException(), 'Missing Chained Exception');
|
|
|
|
|
+ $this->assertType('PDOException', $e->getChainedException(), 'Wrong type of Exception');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|