protected function NodeTestBase::setUp in Drupal 9
Same name in this branch
- 9 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::setUp()
- 9 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::setUp()
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::setUp()
Overrides ViewTestBase::setUp
7 calls to NodeTestBase::setUp()
- BulkFormAccessTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ BulkFormAccessTest.php - BulkFormTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ BulkFormTest.php - FilterNodeAccessTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ FilterNodeAccessTest.php - NodeFieldFilterTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeFieldFilterTest.php - NodeLanguageTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeLanguageTest.php
7 methods override NodeTestBase::setUp()
- BulkFormAccessTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ BulkFormAccessTest.php - BulkFormTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ BulkFormTest.php - FilterNodeAccessTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ FilterNodeAccessTest.php - NodeFieldFilterTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeFieldFilterTest.php - NodeLanguageTest::setUp in core/
modules/ node/ tests/ src/ Functional/ Views/ NodeLanguageTest.php
File
- core/
modules/ node/ tests/ src/ Functional/ Views/ NodeTestBase.php, line 21
Class
- NodeTestBase
- Base class for all node Views tests.
Namespace
Drupal\Tests\node\Functional\ViewsCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
if ($import_test_views) {
ViewTestData::createTestViews(static::class, [
'node_test_views',
]);
}
}