You are here

protected function MathjaxWebTestCase::setUp in MathJax: LaTeX for Drupal 7.2

Set up the test evironment.

Overrides DrupalWebTestCase::setUp

File

./mathjax.test, line 27
Web test file for MathJax module.

Class

MathjaxWebTestCase
Web test case for the module.

Code

protected function setUp() {
  parent::setUp('mathjax');
  $this->administrator = $this
    ->drupalCreateUser(array(
    'administer mathjax',
    'access site reports',
    'access administration pages',
    'administer site configuration',
    'administer filters',
  ));
}