function HelpTopicTranslationTest::setUp

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

Overrides HelpTopicTranslatedTestBase::setUp

File

core/modules/help_topics/tests/src/Functional/HelpTopicTranslationTest.php, line 22

Class

HelpTopicTranslationTest
Verifies help topic translations.

Namespace

Drupal\Tests\help_topics\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create user and log in.
    $this->drupalLogin($this->createUser([
        'access administration 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.