function ModulePermissionsLinkHelperTest::setUp

Same name in other branches
  1. 11.x core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php \Drupal\Tests\user\Kernel\ModulePermissionsLinkHelperTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php, line 32

Class

ModulePermissionsLinkHelperTest
Tests the ModulePermissionsLinkHelper.

Namespace

Drupal\Tests\user\Kernel

Code

public function setUp() : void {
    parent::setUp();
    $this->setUpCurrentUser([], [
        'administer permissions',
    ]);
}

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