protected function NodeRevisionsUiTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php \Drupal\Tests\node\Functional\NodeRevisionsUiTest::setUp()
Overrides NodeTestBase::setUp
File
- core/
modules/ node/ tests/ src/ Functional/ NodeRevisionsUiTest.php, line 30
Class
- NodeRevisionsUiTest
- Tests the UI for controlling node revision behavior.
Namespace
Drupal\Tests\node\FunctionalCode
protected function setUp() {
parent::setUp();
// Create users.
$this->editor = $this
->drupalCreateUser([
'administer nodes',
'edit any page content',
'view page revisions',
'access user profiles',
]);
}