From 953a81372aa06d268979b0651c6f5c42a9ebf0a1 Mon Sep 17 00:00:00 2001 From: Brandon Turner Date: Fri, 24 Sep 2010 14:22:12 -0500 Subject: [PATCH] [Form] fixed typo in unit test --- tests/Symfony/Tests/Component/Form/CollectionFieldTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Symfony/Tests/Component/Form/CollectionFieldTest.php b/tests/Symfony/Tests/Component/Form/CollectionFieldTest.php index 9a01a4d594..b29330d40a 100644 --- a/tests/Symfony/Tests/Component/Form/CollectionFieldTest.php +++ b/tests/Symfony/Tests/Component/Form/CollectionFieldTest.php @@ -136,7 +136,7 @@ class CollectionFieldTest extends \PHPUnit_Framework_TestCase $field->setData($collectionData); $boundNameData = (object) array('first' => 'Foo', 'last' => 'Baz'); - $boundCollectionData = new \ArrayObject(array($nameData)); + $boundCollectionData = new \ArrayObject(array($boundNameData)); $field->bind($boundCollectionData); $this->assertTrue($field->has('0'));