adding CakeTestModel::cacheSources = false;

corrected the class that models defined in tree.test.php extend

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5336 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-06-22 21:02:46 +00:00
parent 50aca85cc9
commit 15c8d5012e
2 changed files with 2 additions and 3 deletions

View file

@ -34,10 +34,8 @@
* @package cake
* @subpackage cake.tests.cases.libs.model.behaviors
*/
class NumberTree extends Model {
class NumberTree extends CakeTestModel {
var $name = 'NumberTree';
var $useDbConfig = 'test_suite';
var $cacheQueries = false;
var $actsAs = array('Tree');
function __initialize($levelLimit = 3, $childLimit = 3, $currentLevel = null, $parent_id = null, $prefix = '1', $hierachial = true) {

View file

@ -35,5 +35,6 @@ require_once LIBS.'model'.DS.'model.php';
*/
class CakeTestModel extends Model {
var $useDbConfig = 'test_suite';
var $cacheSources = false;
}
?>