You are here

protected function MigrateUrlAliasTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
  2. 10 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
  2. 9 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php, line 34

Class

MigrateUrlAliasTest
URL alias migration.

Namespace

Drupal\Tests\path\Kernel\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('path_alias');
  $this
    ->installConfig([
    'node',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->migrateUsers(FALSE);
  $this
    ->migrateFields();
  $this
    ->executeMigrations([
    'language',
    'd6_node_settings',
    'd6_node',
    'd6_node_translation',
    'd6_url_alias',
  ]);
}