Explorar el Código

[Form] fixed typo in unit test

Brandon Turner hace 14 años
padre
commit
953a81372a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'));