function MigrateMenuTranslationTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateMenuTranslationTest::setUp()
  2. 11.x core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateMenuTranslationTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php, line 30

Class

MigrateMenuTranslationTest
Tests menu translation migration.

Namespace

Drupal\Tests\system\Kernel\Migrate\d7

Code

protected function setUp() : void {
    parent::setUp();
    $this->installSchema('locale', [
        'locales_source',
        'locales_target',
        'locales_location',
    ]);
    $this->executeMigrations([
        'language',
        'd7_menu',
        'd7_menu_translation',
    ]);
}

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