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

Sets the test up.

Fichier

tests/src/Functional/EntityCloneParagraphTest.php, line 67

Classe

EntityCloneParagraphTest
Create a content with a paragraph 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);
}