You are here

public function FileMimeTestCase::setUp in File MIME 7

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

File

./filemime.test, line 34
Tests for File MIME module.

Class

FileMimeTestCase
Tests logging messages to the database.

Code

public function setUp() {
  $modules = array(
    'filemime',
  );
  parent::setUp($modules);
  $this->adminUser = $this
    ->drupalCreateUser(array(
    'administer site configuration',
    'access administration pages',
  ));
}