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

Sets the test up.

Fichier

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

Classe

EntityCloneEntityViewModeTest
Test an entity view 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);
}