function MachineNameTransliterationTest::setUp

Same name in other branches
  1. 11.x core/tests/Drupal/FunctionalJavascriptTests/MachineName/MachineNameTransliterationTest.php \Drupal\FunctionalJavascriptTests\MachineName\MachineNameTransliterationTest::setUp()

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/MachineName/MachineNameTransliterationTest.php, line 34

Class

MachineNameTransliterationTest
Tests the machine name transliteration functionality.

Namespace

Drupal\FunctionalJavascriptTests\MachineName

Code

protected function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer site configuration',
        'administer languages',
        'access administration pages',
        'administer permissions',
    ]);
    $this->drupalLogin($admin_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.