"Extending the CakeTestModel instead of AppModel"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6610 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-03-30 03:59:38 +00:00
parent 2e2176e35b
commit ad19583f26

View file

@ -587,7 +587,7 @@ class ValidationTest2 extends CakeTestModel {
* @package cake.tests
* @subpackage cake.tests.cases.libs.model
*/
class Person extends AppModel {
class Person extends CakeTestModel {
var $name = 'Person';
var $belongsTo = array(
'Mother' => array(