You are here

function FileEntityUnitTestCase::testOggMimeTypeMapping in File Entity (fieldable files) 7

Regression tests for core issue http://drupal.org/node/1239376.

File

tests/file_entity.test, line 25
Test integration for the file_entity module.

Class

FileEntityUnitTestCase
@file Test integration for the file_entity module.

Code

function testOggMimeTypeMapping() {
  $this
    ->assertEqual(file_get_mimetype('public://test.ogg'), 'audio/ogg');
}