function HelpTopicTranslationTest::setUp

Same name in other branches
  1. 9 core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php \Drupal\Tests\help_topics\Functional\HelpTopicTranslationTest::setUp()
  2. 8.9.x core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php \Drupal\Tests\help_topics\Functional\HelpTopicTranslationTest::setUp()
  3. 10 core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php \Drupal\Tests\help\Functional\HelpTopicTranslationTest::setUp()

Overrides HelpTopicTranslatedTestBase::setUp

File

core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php, line 24

Class

HelpTopicTranslationTest
Verifies help topic translations.

Namespace

Drupal\Tests\help\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create user and log in.
    $this->drupalLogin($this->createUser([
        'access help pages',
        'view the administration theme',
        'administer permissions',
    ]));
}

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