Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

explicitly passed UPLOAD_ERR_OK constant in a test

  • Loading branch information...
commit fc70e138c1d3858775c9efe51268cae6d7ec3f69 1 parent dda03a2
@bamarni bamarni authored
View
3  tests/Symfony/Tests/Component/HttpFoundation/File/UploadedFileTest.php
@@ -215,7 +215,8 @@ public function testIsInvalidIfNotHttpUpload()
__DIR__.'/Fixtures/test.gif',
'original.gif',
null,
- filesize(__DIR__.'/Fixtures/test.gif')
+ filesize(__DIR__.'/Fixtures/test.gif'),
+ UPLOAD_ERR_OK
);
$this->assertFalse($file->isValid());
Please sign in to comment.
Something went wrong with that request. Please try again.