Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix error caused by non-existent fixture

  • Loading branch information...
commit 0785ace172650df23592fad4c682c3e1ced30e52 1 parent 6f90948
@ceeram ceeram authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
View
6 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 @@ public function testTruncateStatements() {
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;
Please sign in to comment.
Something went wrong with that request. Please try again.