3 namespace Drupal\Tests\system\Kernel\Plugin\migrate\source\d7;
5 use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
8 * Tests D7 theme settings source plugin.
10 * @covers Drupal\system\Plugin\migrate\source\d7\ThemeSettings
14 class ThemeSettingsTest extends MigrateSqlSourceTestBase {
19 public static $modules = ['system', 'migrate_drupal'];
24 public function providerSource() {
32 'toggle_node_user_picture' => 1,
33 'toggle_comment_user_picture' => 1,
34 'toggle_comment_user_verification' => 1,
35 'toggle_favicon' => 1,
36 'toggle_main_menu' => 1,
37 'toggle_secondary_menu' => 1,
41 'default_favicon' => 1,
42 'favicon_path' => ' ',
43 'favicon_upload' => ' ',
44 'scheme' => 'firehouse',
47 $tests[0]['source_data']['variable'] = [
49 'name' => 'theme_bartik_settings',
50 'value' => serialize($value),
54 // The expected results are nearly identical to the source data.
55 $tests[0]['expected_data'] = [
57 'name' => 'theme_bartik_settings',