Issue #2409441 by phenaproxima, quietone, oadaeh, mikeryan: Migration path for Text 7.x

8.0.x
webchick 2015-08-18 14:25:32 -04:00
parent bcbe3c63a3
commit ac17586973
4 changed files with 11 additions and 7 deletions

View File

@ -358,6 +358,9 @@ class Variable extends DrupalDumpBase {
))->values(array(
'name' => 'syslog_identity',
'value' => 's:6:"drupal";',
))->values(array(
'name' => 'teaser_length',
'value' => 'i:1024;',
))->values(array(
'name' => 'theme_default',
'value' => 's:6:"bartik";',
@ -476,4 +479,4 @@ class Variable extends DrupalDumpBase {
}
}
#a571d354b6652603b017f9647ce0975e
#dbc0f593050ff48cc18dfa4fed47daaf

View File

@ -133,7 +133,7 @@ class MigrateDrupal6Test extends MigrateFullDrupalTestBase {
'd6_taxonomy_vocabulary',
'd6_term_node_revision:*',
'd6_term_node:*',
'd6_text_settings',
'text_settings',
'd6_update_settings',
'd6_upload_entity_display',
'd6_upload_entity_form_display',

View File

@ -1,7 +1,8 @@
id: d6_text_settings
label: Drupal 6 teaser length configuration
id: text_settings
label: Drupal teaser length configuration
migration_tags:
- Drupal 6
- Drupal 7
source:
plugin: variable
variables:

View File

@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\text\Tests\Migrate\d6\MigrateTextConfigsTest.
* Contains \Drupal\text\Tests\Migrate\MigrateTextConfigsTest.
*/
namespace Drupal\text\Tests\Migrate\d6;
namespace Drupal\text\Tests\Migrate;
use Drupal\config\Tests\SchemaCheckTestTrait;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
@ -31,7 +31,7 @@ class MigrateTextConfigsTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->executeMigration('d6_text_settings');
$this->executeMigration('text_settings');
}
/**