function EntityCloneConfigActionTest::setUp

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php \Drupal\KernelTests\Core\Recipe\EntityCloneConfigActionTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php, line 38

Class

EntityCloneConfigActionTest
Tests Entity Clone Config Action.

Namespace

Drupal\KernelTests\Core\Recipe

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig('user');
  $this->createRole([
    'access user profiles',
  ], 'test');
}

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