function WizardTestBase::setUp
Same name in other branches
- 9 core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php \Drupal\Tests\views\Functional\Wizard\WizardTestBase::setUp()
- 8.9.x core/modules/views/src/Tests/Wizard/WizardTestBase.php \Drupal\views\Tests\Wizard\WizardTestBase::setUp()
- 8.9.x core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php \Drupal\Tests\views\Functional\Wizard\WizardTestBase::setUp()
- 10 core/modules/views/tests/src/Functional/Wizard/WizardTestBase.php \Drupal\Tests\views\Functional\Wizard\WizardTestBase::setUp()
Overrides ViewTestBase::setUp
5 calls to WizardTestBase::setUp()
- BasicTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ BasicTest.php - Sets up the test.
- ItemsPerPageTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ ItemsPerPageTest.php - Sets up the test.
- SortingTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ SortingTest.php - Sets up the test.
- TaggedWithTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ TaggedWithTest.php - Sets up the test.
- WizardTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ Views/ WizardTest.php - Sets up the test.
5 methods override WizardTestBase::setUp()
- BasicTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ BasicTest.php - Sets up the test.
- ItemsPerPageTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ ItemsPerPageTest.php - Sets up the test.
- SortingTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ SortingTest.php - Sets up the test.
- TaggedWithTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Wizard/ TaggedWithTest.php - Sets up the test.
- WizardTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ Views/ WizardTest.php - Sets up the test.
File
-
core/
modules/ views/ tests/ src/ Functional/ Wizard/ WizardTestBase.php, line 22
Class
- WizardTestBase
- Views UI wizard tests.
Namespace
Drupal\Tests\views\Functional\WizardCode
protected function setUp($import_test_views = TRUE, $modules = []) : void {
parent::setUp($import_test_views, $modules);
// Create and log in a user with administer views permission.
$views_admin = $this->drupalCreateUser([
'administer views',
'administer blocks',
'bypass node access',
'access user profiles',
'view all revisions',
]);
$this->drupalLogin($views_admin);
$this->drupalPlaceBlock('local_actions_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.