mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
92cd894314
commit
08805f57b7
1 changed files with 20 additions and 18 deletions
|
@ -39,10 +39,12 @@
|
|||
require_once LIBS.DS.'controller'.DS.'controller.php';
|
||||
require_once LIBS.DS.'model'.DS.'model.php';
|
||||
|
||||
if (!class_exists('TheTestController')) {
|
||||
class TheTestController extends Controller {
|
||||
var $name = 'TheTest';
|
||||
var $uses = null;
|
||||
}
|
||||
}
|
||||
|
||||
class Contact extends Model {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue