protected function NodeTranslationRedirectTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
- 9 core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d7\NodeTranslationRedirectTest::setUp()
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php \Drupal\Tests\node\Kernel\Migrate\d6\NodeTranslationRedirectTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ NodeTranslationRedirectTest.php, line 31
Class
- NodeTranslationRedirectTest
- Tests node translation redirections.
Namespace
Drupal\Tests\node\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this
->setUpCurrentUser();
$this
->installEntitySchema('node');
$this
->installConfig([
'node',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->migrateUsers(FALSE);
$this
->migrateFields();
$this
->executeMigrations([
'language',
'd6_language_types',
'd6_language_negotiation_settings',
'd6_node_settings',
'd6_node',
'd6_node_translation',
]);
}