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:
commit
09b0a40953
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user