Skip to content

Commit

Permalink
fixing CakeTestModel constructor of previous commit, cleaning up afte…
Browse files Browse the repository at this point in the history
…r schema() call
  • Loading branch information
ceeram committed Nov 23, 2011
1 parent 05940ae commit 07d1621
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/TestSuite/Fixture/CakeTestModel.php
Expand Up @@ -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;
}

}

0 comments on commit 07d1621

Please sign in to comment.