function MigrateSystemConfigurationTest::setUp

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php, line 120

Class

MigrateSystemConfigurationTest
Migrates various configuration objects owned by the System module.

Namespace

Drupal\Tests\system\Kernel\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  // Delete 'site_frontpage' in order to test the migration of a non-existing
  // front page link.
  $this->sourceDatabase
    ->delete('variable')
    ->condition('name', 'site_frontpage')
    ->execute();
  $migrations = [
    'd6_system_cron',
    'd6_system_date',
    'd6_system_file',
    'system_image_gd',
    'system_image',
    'system_logging',
    'system_maintenance',
    'd6_system_performance',
    'system_rss',
    'system_site',
  ];
  $this->executeMigrations($migrations);
}

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