function MigrateNodeRevisionTest::setUp
Overrides MigrateNodeTestBase::setUp
File
-
core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeRevisionTest.php, line 31
Class
- MigrateNodeRevisionTest
- Node content revisions migration.
Namespace
Drupal\Tests\node\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this->executeMigrations([
'd6_node',
'd6_node_revision',
]);
$this->nodeStorage = $this->container
->get('entity_type.manager')
->getStorage('node');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.