protected function EntityCloneContentCreatedDate::setUp in Entity Clone 8
Overrides NodeTestBase::setUp
File
- tests/
src/ Functional/ EntityCloneContentCreatedDate.php, line 36
Class
- EntityCloneContentCreatedDate
- Test whether cloning an entity also clones its created date.
Namespace
Drupal\Tests\entity_clone\FunctionalCode
protected function setUp() {
parent::setUp();
$this->sutUser = $this
->drupalCreateUser([
'bypass node access',
'administer nodes',
'clone node entity',
]);
}