Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing CakeTestModel constructor of previous commit, cleaning up afte…

…r schema() call
  • Loading branch information...
commit 07d1621bc5f65b2b9a8205e644af4a66e1b678c2 1 parent 05940ae
@ceeram ceeram authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/Cake/TestSuite/Fixture/CakeTestModel.php
View
2  lib/Cake/TestSuite/Fixture/CakeTestModel.php
@@ -41,7 +41,9 @@ function __construct($id = false, $table = null, $ds = null) {
parent::__construct($id, $table, $ds);
if ($this->useTable && $this->primaryKey && $this->schema($this->primaryKey)) {
$this->order = array($this->alias . '.' . $this->primaryKey => 'ASC');
+ $this->_schema = null;
}
+ $this->_sourceConfigured = false;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.