Commit d2404bee authored by webchick's avatar webchick
Browse files

Issue #2550823 by phenaproxima, neclimdul: Migrate Drupal integration tests...

Issue #2550823 by phenaproxima, neclimdul: Migrate Drupal integration tests should load all dump files
parent d6002691
......@@ -31,7 +31,6 @@ class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->loadDumps(['Variable.php']);
$this->executeMigration('d6_action_settings');
}
......
......@@ -31,7 +31,6 @@ class MigrateAggregatorConfigsTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->loadDumps(['Variable.php']);
$this->executeMigration('d6_aggregator_settings');
}
......
......@@ -25,7 +25,6 @@ class MigrateAggregatorFeedTest extends MigrateDrupal6TestBase {
protected function setUp() {
parent::setUp();
$this->installEntitySchema('aggregator_feed');
$this->loadDumps(['AggregatorFeed.php']);
$this->executeMigration('d6_aggregator_feed');
}
......
......@@ -45,7 +45,6 @@ protected function setUp() {
));
$entity->enforceIsNew();
$entity->save();
$this->loadDumps(['AggregatorItem.php']);
$this->executeMigration('d6_aggregator_item');
}
......
......@@ -24,7 +24,6 @@ class MigrateAggregatorSettingsTest extends MigrateDrupal7TestBase {
protected function setUp() {
parent::setUp();
$this->installConfig(static::$modules);
$this->loadDumps(['Variable.php']);
$this->executeMigration('d7_aggregator_settings');
}
......
......@@ -32,7 +32,6 @@ class MigrateBlockedIPsTest extends MigrateDrupal7TestBase {
protected function setUp() {
parent::setUp();
$this->installSchema('ban', ['ban_ip']);
$this->loadDumps(['BlockedIps.php']);
$this->executeMigration('d7_blocked_ips');
}
......
......@@ -71,7 +71,6 @@ protected function setUp() {
// Install one of D8's test themes.
\Drupal::service('theme_handler')->install(array('test_theme'));
$this->loadDumps(['Blocks.php', 'BlocksRoles.php', 'AggregatorFeed.php']);
$this->executeMigration('d6_block');
}
......
......@@ -35,7 +35,6 @@ protected function setUp() {
array(array(2), array('full_html'))
)
));
$this->loadDumps(['Boxes.php']);
$this->executeMigration('d6_custom_block');
}
......
......@@ -31,7 +31,6 @@ class MigrateBookConfigsTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->loadDumps(['Variable.php']);
$this->executeMigration('d6_book_settings');
}
......
......@@ -42,8 +42,6 @@ protected function setUp() {
$id_mappings['d6_node'][] = array(array($i), array($i));
}
$this->prepareMigrations($id_mappings);
// Load database dumps to provide source data.
$this->loadDumps(['Book.php', 'MenuLinks.php']);
$this->executeMigration('d6_book');
}
......
......@@ -56,16 +56,6 @@ protected function setUp() {
'd6_comment_entity_form_display' => array(array(array('story'), array('node', 'story', 'default', 'comment'))),
);
$this->prepareMigrations($id_mappings);
$this->loadDumps([
'Node.php',
'NodeRevisions.php',
'ContentTypeStory.php',
'ContentTypeTestPlanet.php',
'Variable.php',
'NodeType.php',
'Comments.php',
]);
$this->executeMigration('d6_comment');
}
......
......@@ -24,12 +24,9 @@ class MigrateCommentTypeTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->installEntitySchema('node');
$this->installEntitySchema('comment');
$this->installConfig(['node', 'comment']);
$this->loadDumps(['Variable.php', 'NodeType.php']);
$this->executeMigration('d6_comment_type');
}
......
......@@ -64,7 +64,6 @@ protected function setUp() {
),
);
$this->prepareMigrations($id_mappings);
$this->loadDumps(['Variable.php', 'NodeType.php']);
$this->executeMigration(static::MIGRATION);
}
......
......@@ -42,7 +42,6 @@ protected function setUp() {
),
);
$this->prepareMigrations($id_mappings);
$this->loadDumps(['Variable.php', 'NodeType.php']);
$this->executeMigration('d6_comment_entity_form_display_subject');
}
......
......@@ -41,7 +41,6 @@ protected function setUp() {
),
);
$this->prepareMigrations($id_mappings);
$this->loadDumps(['Variable.php', 'NodeType.php']);
$this->executeMigration('d6_comment_field');
}
......
......@@ -49,7 +49,6 @@ protected function setUp() {
'type' => 'comment',
'translatable' => '0',
))->save();
$this->loadDumps(['Variable.php', 'NodeType.php']);
$this->executeMigration('d6_comment_field_instance');
}
......
......@@ -29,7 +29,6 @@ class MigrateContactCategoryTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->loadDumps(['Contact.php']);
$this->executeMigration('d6_contact_category');
}
......
......@@ -39,7 +39,6 @@ protected function setUp() {
),
);
$this->prepareMigrations($id_mappings);
$this->loadDumps(['Variable.php', 'Contact.php']);
$this->executeMigration('d6_contact_settings');
}
......
......@@ -31,7 +31,6 @@ class MigrateDblogConfigsTest extends MigrateDrupal6TestBase {
*/
protected function setUp() {
parent::setUp();
$this->loadDumps(['Variable.php']);
$this->executeMigration('d6_dblog_settings');
}
......
......@@ -29,7 +29,6 @@ class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
protected function setUp() {
parent::setUp();
$this->installConfig(static::$modules);
$this->loadDumps(['Variable.php']);
$this->executeMigration('d7_dblog_settings');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment