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