diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal7.php b/core/modules/migrate_drupal/tests/fixtures/drupal7.php index c1480c1863c..78651e4bebb 100644 --- a/core/modules/migrate_drupal/tests/fixtures/drupal7.php +++ b/core/modules/migrate_drupal/tests/fixtures/drupal7.php @@ -41539,10 +41539,30 @@ $connection->insert('variable') 'name' => 'tracker_batch_size', 'value' => 'i:999;', )) +->values(array( + 'name' => 'update_check_frequency', + 'value' => 'i:1;', +)) +->values(array( + 'name' => 'update_fetch_url', + 'value' => 's:23:"http://127.0.0.1/update";', +)) ->values(array( 'name' => 'update_last_check', 'value' => 'i:1444944973;', )) +->values(array( + 'name' => 'update_max_fetch_attempts', + 'value' => 'i:3;', +)) +->values(array( + 'name' => 'update_notification_threshold', + 'value' => 's:3:"all";', +)) +->values(array( + 'name' => 'update_notify_emails', + 'value' => 'a:1:{i:0;s:19:"webmaster@127.0.0.1";}', +)) ->values(array( 'name' => 'user_admin_role', 'value' => 's:1:"3";', diff --git a/core/modules/update/migration_templates/d6_update_settings.yml b/core/modules/update/migration_templates/update_settings.yml similarity index 94% rename from core/modules/update/migration_templates/d6_update_settings.yml rename to core/modules/update/migration_templates/update_settings.yml index 37e0ef1ee17..ad224723559 100644 --- a/core/modules/update/migration_templates/d6_update_settings.yml +++ b/core/modules/update/migration_templates/update_settings.yml @@ -1,7 +1,8 @@ -id: d6_update_settings +id: update_settings label: Update configuration migration_tags: - Drupal 6 + - Drupal 7 source: plugin: variable variables: diff --git a/core/modules/update/src/Tests/Migrate/d6/MigrateUpdateConfigsTest.php b/core/modules/update/src/Tests/Migrate/d6/MigrateUpdateConfigsTest.php index 679350a856b..29cf50293f5 100644 --- a/core/modules/update/src/Tests/Migrate/d6/MigrateUpdateConfigsTest.php +++ b/core/modules/update/src/Tests/Migrate/d6/MigrateUpdateConfigsTest.php @@ -29,7 +29,7 @@ class MigrateUpdateConfigsTest extends MigrateDrupal6TestBase { */ protected function setUp() { parent::setUp(); - $this->executeMigration('d6_update_settings'); + $this->executeMigration('update_settings'); } /**