소스 검색

[Form] fixed typo in unit test

Brandon Turner 14 년 전
부모
커밋
953a81372a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Symfony/Tests/Component/Form/CollectionFieldTest.php

+ 1 - 1
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'));