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

Sets the test up.

File

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

Class

EntityCloneBlockTest
Create an block and test a clone.

Namespace

Drupal\Tests\entity_clone\Functional

Code

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