Setting checks for mock object declaration in FormHelper test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4627 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-03-17 00:03:36 +00:00
parent 92cd894314
commit 08805f57b7

View file

@ -39,12 +39,14 @@
require_once LIBS.DS.'controller'.DS.'controller.php';
require_once LIBS.DS.'model'.DS.'model.php';
class TheTestController extends Controller {
if (!class_exists('TheTestController')) {
class TheTestController extends Controller {
var $name = 'TheTest';
var $uses = null;
}
}
}
class Contact extends Model {
class Contact extends Model {
var $primaryKey = 'id';
var $useTable = false;
@ -57,7 +59,7 @@ class Contact extends Model {
array('name' => 'updated', 'type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null)
));
}
}
}
/**
* Short description for class.