8000 [Form] Fix tests · symfony/symfony@e00e22d · GitHub
[go: up one dir, main page]

Skip to content

Commit e00e22d

Browse files
author
Robin Chalas
committed
[Form] Fix tests
1 parent c82e2df commit e00e22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public function uploadFileErrorCodes()
296296
{
297297
return [
298298
'no error' => [UPLOAD_ERR_OK, null],
299-
'upload_max_filesize ini directive' => [UPLOAD_ERR_INI_SIZE, 'The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}.'],
299+
'upload_max_filesize ini directive' => [UPLOAD_ERR_INI_SIZE, 'The file is too large. Allowed maximum size is 2 MiB.'],
300300
'MAX_FILE_SIZE from form' => [UPLOAD_ERR_FORM_SIZE, 'The file is too large.'],
301301
'partially uploaded' => [UPLOAD_ERR_PARTIAL, 'The file could not be uploaded.'],
302302
'no file upload' => [UPLOAD_ERR_NO_FILE, 'The file could not be uploaded.'],

0 commit comments

Comments
 (0)
0