public function MimeTypeTest::testGuessImageWithKnownExtension in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/File/MimeType/MimeTypeTest.php \Symfony\Component\HttpFoundation\Tests\File\MimeType\MimeTypeTest::testGuessImageWithKnownExtension()
File
- vendor/
symfony/ http-foundation/ Tests/ File/ MimeType/ MimeTypeTest.php, line 43
Class
- MimeTypeTest
- @requires extension fileinfo
Namespace
Symfony\Component\HttpFoundation\Tests\File\MimeTypeCode
public function testGuessImageWithKnownExtension() {
$this
->assertEquals('image/gif', MimeTypeGuesser::getInstance()
->guess(__DIR__ . '/../Fixtures/test.gif'));
}