protected function NodeCreationTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/tests/src/Functional/NodeCreationTest.php \Drupal\Tests\node\Functional\NodeCreationTest::setUp()
Overrides NodeTestBase::setUp
File
- core/
modules/ node/ tests/ src/ Functional/ NodeCreationTest.php, line 31
Class
- NodeCreationTest
- Create a node and test saving it.
Namespace
Drupal\Tests\node\FunctionalCode
protected function setUp() {
parent::setUp();
$web_user = $this
->drupalCreateUser([
'create page content',
'edit own page content',
]);
$this
->drupalLogin($web_user);
}