You are here

protected function MigrateThemeSettingsTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateThemeSettingsTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php, line 17

Class

MigrateThemeSettingsTest
Tests migration of Theme settings variables to configuration.

Namespace

Drupal\Tests\system\Kernel\Migrate\d7

Code

protected function setUp() {
  parent::setUp();

  // Install bartik and seven themes.
  \Drupal::service('theme_installer')
    ->install([
    'bartik',
    'seven',
  ]);
  $this
    ->executeMigration('d7_theme_settings');
}