diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php index a91069a60b7..bb7bc4c67e9 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php @@ -3586,10 +3586,6 @@ public function testTruncateStatements() { * @return void */ public function testNestedTransaction() { - $obj = new ReflectionMethod($this->Dbo, '_supportNestedTransaction'); - $obj->setAccessible(true); - $this->skipIf($obj->invoke($this->Dbo) === false, 'The MySQL server do not support nested transaction'); - $this->loadFixtures('Address'); $model = ClassRegistry::init('Address'); $model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array(); diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php index 4a6b7897ebd..68e0c328058 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php @@ -915,10 +915,6 @@ public function testTruncateStatements() { * @return void */ public function testNestedTransaction() { - $obj = new ReflectionMethod($this->Dbo, '_supportNestedTransaction'); - $obj->setAccessible(true); - $this->skipIf($obj->invoke($this->Dbo) === false, 'The Postgres server do not support nested transaction'); - $this->loadFixtures('Article'); $model = new Article(); $model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array(); diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php index 1e4ed7e4678..49f99756ba7 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php @@ -389,10 +389,6 @@ public function testUuidPrimaryKeyInsertion() { * @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();