Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Update src/Symfony/Component/Form/Extension/Core/Type/FileType.php #5028
Whatever was the reason for adding the option ;) The test should fail when the option is not added and succeed when the option is there.
Probably it is sufficient to create a new field of type "file" in the test which comes prefilled with a
Since this update, I've got a 500 error instead of validation failure when I try to post a form without a required file.