function MimeTypeMapTest::setUp
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/File/MimeType/MimeTypeMapTest.php \Drupal\Tests\Core\File\MimeType\MimeTypeMapTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ File/ MimeType/ MimeTypeMapTest.php, line 27
Class
- MimeTypeMapTest
- Tests the MIME type mapper to extension.
Namespace
Drupal\Tests\Core\File\MimeTypeCode
protected function setUp() : void {
parent::setUp();
$this->map = new MimeTypeMap();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.