Skip to content

Commit 0785ace

Browse files
committed
fix error caused by non-existent fixture
1 parent 6f90948 commit 0785ace

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MysqlTest extends CakeTestCase {
4545
public $fixtures = array(
4646
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
4747
'core.sample', 'core.tag', 'core.user', 'core.post', 'core.author', 'core.data_test',
48-
'core.binary_test', 'app.address'
48+
'core.binary_test'
4949
);
5050

5151
/**
@@ -3588,8 +3588,8 @@ public function testTruncateStatements() {
35883588
public function testNestedTransaction() {
35893589
$this->skipIf($this->Dbo->supportNestedTransaction() === false, 'The MySQL server do not support nested transaction');
35903590

3591-
$this->loadFixtures('Address');
3592-
$model = ClassRegistry::init('Address');
3591+
$this->loadFixtures('Article');
3592+
$model = ClassRegistry::init('Article');
35933593
$model->hasOne = $model->hasMany = $model->belongsTo = $model->hasAndBelongsToMany = array();
35943594
$model->cacheQueries = false;
35953595
$this->Dbo->cacheMethods = false;

0 commit comments

Comments
 (0)