You are here

protected function NopremiumBrowserTestBase::setUp in Node Option Premium 8

Overrides BrowserTestBase::setUp

3 calls to NopremiumBrowserTestBase::setUp()
NodeEditTest::setUp in tests/src/Functional/NodeEditTest.php
NodeViewTest::setUp in tests/src/Functional/NodeViewTest.php
SettingsFormTest::setUp in tests/src/Functional/Form/SettingsFormTest.php
3 methods override NopremiumBrowserTestBase::setUp()
NodeEditTest::setUp in tests/src/Functional/NodeEditTest.php
NodeViewTest::setUp in tests/src/Functional/NodeViewTest.php
SettingsFormTest::setUp in tests/src/Functional/Form/SettingsFormTest.php

File

tests/src/Functional/NopremiumBrowserTestBase.php, line 35

Class

NopremiumBrowserTestBase
Provides a base class for Node Option Premium functional tests.

Namespace

Drupal\Tests\nopremium\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->admin = $this
    ->drupalCreateUser([
    'administer content types',
    'administer nodes',
  ]);
}