You are here

protected function MathjaxAdminTestCase::setUp in MathJax: LaTeX for Drupal 7

Set up the test evironment.

Overrides DrupalWebTestCase::setUp

File

tests/mathjax_admin.test, line 27
Admin page test file for MathJax module.

Class

MathjaxAdminTestCase
Admin test case for the module.

Code

protected function setUp() {
  parent::setUp('mathjax');
  $this->administrator = $this
    ->drupalCreateUser(array(
    'administer mathjax',
  ));
}