public function StreamWrapperTest::testGetMimeTypeDefault in AmazonS3 7.2
Test getting the default mime type.
@covers \Drupal\amazons3\StreamWrapper::getMimeType
File
- tests/
StreamWrapperTest.php, line 245
Class
Namespace
Drupal\amazons3TestCode
public function testGetMimeTypeDefault() {
$mimeType = StreamWrapper::getMimeType('s3://bucket.example.com/image');
$this
->assertEquals('application/octet-stream', $mimeType);
}