mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-20 08:29:55 +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(
|
public $fixtures = array(
|
||||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
'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.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() {
|
public function testNestedTransaction() {
|
||||||
$this->skipIf($this->Dbo->supportNestedTransaction() === false, 'The MySQL server do not support nested transaction');
|
$this->skipIf($this->Dbo->supportNestedTransaction() === false, 'The MySQL server do not support nested transaction');
|
||||||
|
|
||||||
$this->loadFixtures('Address');
|
$this->loadFixtures('Article');
|
||||||
$model = ClassRegistry::init('Address');
|
$model = ClassRegistry::init('Article');
|
||||||
$model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array();
|
$model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array();
|
||||||
$model->cacheQueries = false;
|
$model->cacheQueries = false;
|
||||||
$this->Dbo->cacheMethods = false;
|
$this->Dbo->cacheMethods = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue