You are here

protected function EnqueueFormTest::setUp in Warmer 8

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

Overrides BrowserTestBase::setUp

File

modules/warmer_entity/tests/src/Functional/EnqueueFormTest.php, line 28

Class

EnqueueFormTest
Functional test for the form enqueue functionality.

Namespace

Drupal\Tests\warmer_entity\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->createUser([
    'administer site configuration',
  ]);
  NodeType::create([
    'type' => 'article',
  ])
    ->save();
}