public function EntityReferenceRevisionsOrphanRemovalTest::setUp in Entity Reference Revisions 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ EntityReferenceRevisionsOrphanRemovalTest.php, line 46
Class
- EntityReferenceRevisionsOrphanRemovalTest
- Tests orphan composite revisions are properly removed.
Namespace
Drupal\Tests\entity_reference_revisions\FunctionalCode
public function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'delete orphan revisions',
]);
$this
->drupalLogin($this->adminUser);
$this
->insertRevisionableData();
$this
->insertNonRevisionableData();
}