Merge branch '2.3' into 2.4

* 2.3:
  [Form][2.3] Fixes empty file-inputs getting treated as extra field.
This commit is contained in:
Fabien Potencier 2014-03-03 13:52:50 +01:00
commit 09b0a40953

View File

@ -129,7 +129,7 @@ class CompoundFormTest extends AbstractFormTest
$child = $factory->create('file', null, array('auto_initialize' => false));
$this->form->add($child);
$this->form->submit(array('file' => null));
$this->form->submit(array('file' => null), false);
$this->assertCount(0, $this->form->getExtraData());
}