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 {
var $primaryKey = 'id';
var $useTable = false;
var $name = 'Contact';
function loadInfo() {
return new Set(array(
@ -139,8 +140,8 @@ class FormHelperTest extends UnitTestCase {
}
function testFormValidationAssociated() {
$this->UserForm = new UserForm();
$this->UserForm->OpenidUrl = new OpenidUrl();
$this->UserForm =& new UserForm();
$this->UserForm->OpenidUrl =& new OpenidUrl();
$data = array(
'UserForm' => array(