You are here

protected function MathjaxWebTest::setUp in MathJax: LaTeX for Drupal 8.2

Set up the test evironment.

Overrides WebTestBase::setUp

File

src/Tests/MathjaxWebTest.php, line 43

Class

MathjaxWebTest
Configuration test case for the module.

Namespace

Drupal\mathjax\Tests

Code

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