You are here

protected function MigrateThemeSettingsTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateThemeSettingsTest::setUp()
  2. 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() : void {
  parent::setUp();

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