mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
50aca85cc9
commit
15c8d5012e
2 changed files with 2 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -35,5 +35,6 @@ require_once LIBS.'model'.DS.'model.php';
|
|||
*/
|
||||
class CakeTestModel extends Model {
|
||||
var $useDbConfig = 'test_suite';
|
||||
var $cacheSources = false;
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue