public function UploadedFileTest::testIsValid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/File/UploadedFileTest.php \Symfony\Component\HttpFoundation\Tests\File\UploadedFileTest::testIsValid()
File
- vendor/
symfony/ http-foundation/ Tests/ File/ UploadedFileTest.php, line 219
Class
Namespace
Symfony\Component\HttpFoundation\Tests\FileCode
public function testIsValid() {
$file = new UploadedFile(__DIR__ . '/Fixtures/test.gif', 'original.gif', null, filesize(__DIR__ . '/Fixtures/test.gif'), UPLOAD_ERR_OK, true);
$this
->assertTrue($file
->isValid());
}