You are here

protected function MathjaxWebTest::setUp in MathJax: LaTeX for Drupal 3.0.x

Set up the test environment.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MathjaxWebTest.php, line 51

Class

MathjaxWebTest
Configuration test case for the module.

Namespace

Drupal\Tests\mathjax\Functional

Code

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