You are here

public function MimeTypeTest::testGuessImageWithoutExtension in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/File/MimeType/MimeTypeTest.php \Symfony\Component\HttpFoundation\Tests\File\MimeType\MimeTypeTest::testGuessImageWithoutExtension()

File

vendor/symfony/http-foundation/Tests/File/MimeType/MimeTypeTest.php, line 24

Class

MimeTypeTest
@requires extension fileinfo

Namespace

Symfony\Component\HttpFoundation\Tests\File\MimeType

Code

public function testGuessImageWithoutExtension() {
  $this
    ->assertEquals('image/gif', MimeTypeGuesser::getInstance()
    ->guess(__DIR__ . '/../Fixtures/test'));
}