function EntityCloneConfigActionTest::setUp

Overrides KernelTestBase::setUp

File

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

Class

EntityCloneConfigActionTest
@covers \Drupal\Core\Config\Action\Plugin\ConfigAction\EntityClone @group Recipe

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.