Change test

This commit is contained in:
Fabien Potencier 2020-10-04 18:34:28 +02:00
parent 7db7dcc431
commit bfcf65f61c
1 changed files with 2 additions and 2 deletions

View File

@ -82,12 +82,12 @@ class UploadedFileTest extends TestCase
$file = new UploadedFile(
__DIR__.'/Fixtures/test.gif',
'original.gif',
'image/jpeg',
'image/png',
filesize(__DIR__.'/Fixtures/test.gif'),
null
);
$this->assertEquals('jpeg', $file->guessClientExtension());
$this->assertEquals('png', $file->guessClientExtension());
}
public function testCaseSensitiveMimeType()