You are here

public function FlexiformEntityFormTest::setUp in Flexiform 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/FlexiformEntityFormTest.php, line 31

Class

FlexiformEntityFormTest
Flexiform functional test.

Namespace

Drupal\Tests\flexiform\Functional

Code

public function setUp() {
  parent::setUp();
  $permissions = [
    'administer nodes',
    'administer node form display',
    'create article content',
    'edit any article content',
    'delete any article content',
  ];
  $this->adminUser = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->adminUser);
}