function NodeTestBase::setUp

Same name in this branch
  1. 10 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::setUp()
Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::setUp()
  2. 9 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::setUp()
  3. 8.9.x core/modules/node/src/Tests/Views/NodeTestBase.php \Drupal\node\Tests\Views\NodeTestBase::setUp()
  4. 8.9.x core/modules/node/src/Tests/NodeTestBase.php \Drupal\node\Tests\NodeTestBase::setUp()
  5. 8.9.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::setUp()
  6. 8.9.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::setUp()
  7. 11.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::setUp()
  8. 11.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::setUp()

Overrides ViewTestBase::setUp

5 calls to NodeTestBase::setUp()
BulkFormAccessTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
Sets up the test.
BulkFormTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormTest.php
Sets up the test.
FilterNodeAccessTest::setUp in core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
Sets up the test.
NodeFieldFilterTest::setUp in core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php
Sets up the test.
NodeLanguageTest::setUp in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
Sets up the test.
5 methods override NodeTestBase::setUp()
BulkFormAccessTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
Sets up the test.
BulkFormTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormTest.php
Sets up the test.
FilterNodeAccessTest::setUp in core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
Sets up the test.
NodeFieldFilterTest::setUp in core/modules/node/tests/src/Functional/Views/NodeFieldFilterTest.php
Sets up the test.
NodeLanguageTest::setUp in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
Sets up the test.

File

core/modules/node/tests/src/Functional/Views/NodeTestBase.php, line 22

Class

NodeTestBase
Base class for all node Views tests.

Namespace

Drupal\Tests\node\Functional\Views

Code

protected function setUp($import_test_views = TRUE, $modules = [
    'node_test_views',
]) : void {
    parent::setUp($import_test_views, $modules);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.