function FilterCriteriaTest::setUp
Same name in other branches
- 9 core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php \Drupal\Tests\views_ui\FunctionalJavascript\FilterCriteriaTest::setUp()
- 8.9.x core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php \Drupal\Tests\views_ui\FunctionalJavascript\FilterCriteriaTest::setUp()
- 10 core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php \Drupal\Tests\views_ui\FunctionalJavascript\FilterCriteriaTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ FilterCriteriaTest.php, line 29
Class
- FilterCriteriaTest
- Tests the View UI filter criteria group dialog.
Namespace
Drupal\Tests\views_ui\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this->drupalCreateUser([
'administer site configuration',
'administer views',
'administer nodes',
'access content overview',
]);
// Disable automatic live preview to make the sequence of calls clearer.
\Drupal::configFactory()->getEditable('views.settings')
->set('ui.always_live_preview', FALSE)
->save();
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.