Permalink
Browse files

explicitly passed UPLOAD_ERR_OK constant in a test

  • Loading branch information...
1 parent dda03a2 commit fc70e138c1d3858775c9efe51268cae6d7ec3f69 @bamarni bamarni committed Jan 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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());

0 comments on commit fc70e13

Please sign in to comment.