We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c106a3 commit 38ab0efCopy full SHA for 38ab0ef
tests/MimeTypeUtilTest.php
@@ -27,6 +27,7 @@ public function testGetMimetypeFromExtension():void{
27
public function testGetMimeTypeFromFileName():void{
28
$this::assertNull(MimeTypeUtil::getFromFilename(''));
29
$this::assertSame('application/json', MimeTypeUtil::getFromFilename('/path/to/some/file.json'));
30
+ $this::assertSame('application/x-httpd-php', MimeTypeUtil::getFromFilename(__FILE__));
31
}
32
33
public function testGetMimeTypeFromContent():void{
0 commit comments