Same name in other branches
  1. 8.x-1.x tests/src/Functional/EntityCloneUserTest.php \Drupal\Tests\entity_clone\Functional\EntityCloneUserTest::setUp()

Sets the test up.

File

tests/src/Functional/EntityCloneUserTest.php, line 52

Class

EntityCloneUserTest
Create a user and test a clone.

Namespace

Drupal\Tests\entity_clone\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->adminUser = $this->drupalCreateUser($this->permissions, 'test_user');
    $this->drupalLogin($this->adminUser);
}