function NodeSyndicateBlockTest::setUp
Same name in other branches
- 8.9.x core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php \Drupal\Tests\node\Functional\NodeSyndicateBlockTest::setUp()
- 10 core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php \Drupal\Tests\node\Functional\NodeSyndicateBlockTest::setUp()
- 11.x core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php \Drupal\Tests\node\Functional\NodeSyndicateBlockTest::setUp()
Overrides NodeTestBase::setUp
File
-
core/
modules/ node/ tests/ src/ Functional/ NodeSyndicateBlockTest.php, line 27
Class
- NodeSyndicateBlockTest
- Tests if the syndicate block is available.
Namespace
Drupal\Tests\node\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create a user and log in.
$admin_user = $this->drupalCreateUser([
'administer blocks',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.