function MigrateUrlAliasTest::setUp

Same name in this branch
  1. 9 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
Same name in other branches
  1. 8.9.x core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
  2. 8.9.x core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
  3. 10 core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
  4. 10 core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\MigrateUrlAliasTest::setUp()
  5. 11.x core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d6\MigrateUrlAliasTest::setUp()
  6. 11.x core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php \Drupal\Tests\path\Kernel\Migrate\d7\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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.