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

Sets the test up.

File

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

Class

EntityCloneShortcutSetTest
Create a shortcut set 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);
}