From 0785ace172650df23592fad4c682c3e1ced30e52 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Tue, 24 Apr 2012 14:01:59 +0200 Subject: [PATCH] fix error caused by non-existent fixture --- lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php index 9fa5f9bd4..ca8557088 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php @@ -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;