function CollapsedSummariesTest::setUp
Same name in other branches
- 10 core/modules/node/tests/src/FunctionalJavascript/CollapsedSummariesTest.php \Drupal\Tests\node\FunctionalJavascript\CollapsedSummariesTest::setUp()
- 11.x core/modules/node/tests/src/FunctionalJavascript/CollapsedSummariesTest.php \Drupal\Tests\node\FunctionalJavascript\CollapsedSummariesTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ node/ tests/ src/ FunctionalJavascript/ CollapsedSummariesTest.php, line 27
Class
- CollapsedSummariesTest
- Tests that outlines of node meta values are displayed in summaries and tabs.
Namespace
Drupal\Tests\node\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
$this->drupalCreateNode([
'title' => $this->randomMachineName(),
'type' => 'page',
]);
$this->drupalLogin($this->createUser([
'edit any page content',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.