mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
Fixing test for PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4807 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5eaa76afe0
commit
da5e9c05a5
1 changed files with 3 additions and 2 deletions
|
@ -55,6 +55,7 @@
|
||||||
class Contact extends Model {
|
class Contact extends Model {
|
||||||
var $primaryKey = 'id';
|
var $primaryKey = 'id';
|
||||||
var $useTable = false;
|
var $useTable = false;
|
||||||
|
var $name = 'Contact';
|
||||||
|
|
||||||
function loadInfo() {
|
function loadInfo() {
|
||||||
return new Set(array(
|
return new Set(array(
|
||||||
|
@ -139,8 +140,8 @@ class FormHelperTest extends UnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
function testFormValidationAssociated() {
|
function testFormValidationAssociated() {
|
||||||
$this->UserForm = new UserForm();
|
$this->UserForm =& new UserForm();
|
||||||
$this->UserForm->OpenidUrl = new OpenidUrl();
|
$this->UserForm->OpenidUrl =& new OpenidUrl();
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'UserForm' => array(
|
'UserForm' => array(
|
||||||
|
|
Loading…
Reference in a new issue