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

Sets the test up.

Fichier

tests/src/Functional/EntityCloneEntityFormModeTest.php, line 54

Classe

EntityCloneEntityFormModeTest
Test an entity form mode clone.

Namespace

Drupal\Tests\entity_clone\Functional

Code

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