8000 Merge branch '2.3' into 2.4 · matthieuauger/symfony@09b0a40 · GitHub
[go: up one dir, main page]

Skip to content

Commit 09b0a40

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: [Form][2.3] Fixes empty file-inputs getting treated as extra field.
2 parents 52f8dc7 + 485efad commit 09b0a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/CompoundFormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function testSubmitDoesNotAddExtraFieldForNullValues()
129129
$child = $factory->create('file', null, array('auto_initialize' => false));
130130

131131
$this->form->add($child);
132-
$this->form->submit(array('file' => null));
132+
$this->form->submit(array('file' => null), false);
133133

134134
$this->assertCount(0, $this->form->getExtraData());
135135
}

0 commit comments

Comments
 (0)
0