mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
fix error caused by non-existent fixture
This commit is contained in:
parent
6f909480e8
commit
0785ace172
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ class MysqlTest extends CakeTestCase {
|
|||
public $fixtures = array(
|
||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
||||
'core.sample', 'core.tag', 'core.user', 'core.post', 'core.author', 'core.data_test',
|
||||
'core.binary_test', 'app.address'
|
||||
'core.binary_test'
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -3588,8 +3588,8 @@ class MysqlTest extends CakeTestCase {
|
|||
public function testNestedTransaction() {
|
||||
$this->skipIf($this->Dbo->supportNestedTransaction() === false, 'The MySQL server do not support nested transaction');
|
||||
|
||||
$this->loadFixtures('Address');
|
||||
$model = ClassRegistry::init('Address');
|
||||
$this->loadFixtures('Article');
|
||||
$model = ClassRegistry::init('Article');
|
||||
$model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array();
|
||||
$model->cacheQueries = false;
|
||||
$this->Dbo->cacheMethods = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue