You are here

protected function QuickNodeCloneTest::setUp in Quick Node Clone 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/QuickNodeCloneTest.php, line 36

Class

QuickNodeCloneTest
Tests node cloning.

Namespace

Drupal\Tests\quick_node_clone\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Create admin user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
    'Administer Quick Node Clone Settings',
    'clone page content',
    'create page content',
  ]);
}