You are here

protected function ViewsBulkTest::setUp in Drupal 10

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. 9 core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::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

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