function ModulePermissionsLinkHelperTest::setUp

Same name and namespace in other branches
  1. 10 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.