function ViewsListTest::setUp
Same name in other branches
- 9 core/modules/views_ui/tests/src/Functional/ViewsListTest.php \Drupal\Tests\views_ui\Functional\ViewsListTest::setUp()
- 10 core/modules/views_ui/tests/src/Functional/ViewsListTest.php \Drupal\Tests\views_ui\Functional\ViewsListTest::setUp()
- 11.x core/modules/views_ui/tests/src/Functional/ViewsListTest.php \Drupal\Tests\views_ui\Functional\ViewsListTest::setUp()
Overrides UITestBase::setUp
File
-
core/
modules/ views_ui/ tests/ src/ Functional/ ViewsListTest.php, line 37
Class
- ViewsListTest
- Tests the views list.
Namespace
Drupal\Tests\views_ui\FunctionalCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this->drupalPlaceBlock('local_tasks_block');
$this->drupalPlaceBlock('local_actions_block');
$this->adminUser = $this->drupalCreateUser([
'administer views',
]);
$this->drupalLogin($this->adminUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.