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 d7a3a28 commit 1a5ed00Copy full SHA for 1a5ed00
packages/framework/tests/Feature/FilesystemFacadeTest.php
@@ -449,6 +449,17 @@ public function testMethodWithMixedSequentialAndNamedArgumentsSkippingMiddleOne(
449
rmdir(Hyde::path('foo'));
450
}
451
452
+ public function testFindMimeTypeLookup()
453
+ {
454
+ $this->assertSame('text/plain', Filesystem::findMimeType('test.txt'));
455
+ }
456
+
457
+ public function testFindMimeTypeWithKnownFile()
458
459
+ $this->file('test.txt', 'This is a test file.');
460
461
462
463
public function testFindMimeTypeWithUnknownExtension()
464
{
465
$this->file('text.unknown', 'text');
0 commit comments