mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 01:52:40 +00:00
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:
parent
22cd65b7d8
commit
ffe0a18495
3 changed files with 0 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue