You are here

public function ViewsBulkTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::setUp()
  2. 10 core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::setUp()

Overrides ViewTestBase::setUp

File

core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php, line 33

Class

ViewsBulkTest
Tests views bulk operation selection.

Namespace

Drupal\Tests\views\Functional\Plugin

Code

public function setUp($import_test_views = TRUE) : void {
  parent::setUp($import_test_views);
  $this
    ->drupalCreateContentType([
    'type' => 'page',
  ]);
  $this->admin_user = $this
    ->createUser([
    'bypass node access',
    'administer nodes',
    'access content overview',
  ]);
}