public function UploadedFileTest::testGetClientOriginalName 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::testGetClientOriginalName()
File
- vendor/
symfony/ http-foundation/ Tests/ File/ UploadedFileTest.php, line 105
Class
Namespace
Symfony\Component\HttpFoundation\Tests\FileCode
public function testGetClientOriginalName() {
$file = new UploadedFile(__DIR__ . '/Fixtures/test.gif', 'original.gif', 'image/gif', filesize(__DIR__ . '/Fixtures/test.gif'), null);
$this
->assertEquals('original.gif', $file
->getClientOriginalName());
}