[Form] fixed typo in unit test

This commit is contained in:
Brandon Turner 2010-09-24 14:22:12 -05:00 committed by Fabien Potencier
parent b2e4b452a4
commit 953a81372a

View File

@ -136,7 +136,7 @@ class CollectionFieldTest extends \PHPUnit_Framework_TestCase
$field->setData($collectionData); $field->setData($collectionData);
$boundNameData = (object) array('first' => 'Foo', 'last' => 'Baz'); $boundNameData = (object) array('first' => 'Foo', 'last' => 'Baz');
$boundCollectionData = new \ArrayObject(array($nameData)); $boundCollectionData = new \ArrayObject(array($boundNameData));
$field->bind($boundCollectionData); $field->bind($boundCollectionData);
$this->assertTrue($field->has('0')); $this->assertTrue($field->has('0'));