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:
mariano.iglesias 2007-04-06 19:01:46 +00:00
parent 5eaa76afe0
commit da5e9c05a5

View file

@ -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(