ReflectionMethod::setAccessible() is not compatible with PHP 5.2, causing fatal error in CI. Assuming that the db servers support nested transaction.

This commit is contained in:
Juan Basso 2012-04-01 00:07:39 -04:00
parent 22cd65b7d8
commit ffe0a18495
3 changed files with 0 additions and 12 deletions

View file

@ -389,10 +389,6 @@ class SqliteTest extends CakeTestCase {
* @return void
*/
public function testNestedTransaction() {
$obj = new ReflectionMethod($this->Dbo, '_supportNestedTransaction');
$obj->setAccessible(true);
$this->skipIf($obj->invoke($this->Dbo) === false, 'The Sqlite version do not support nested transaction');
$this->loadFixtures('User');
$model = new User();
$model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array();