Issue #3466289 by catch, benjifisher, smustgrave: MigrateNoMigrateDrupalTest fails with missing classes in certain situations
parent
ae9641c117
commit
984772a9df
|
@ -32,7 +32,7 @@ class ExecuteMigration extends ControllerBase {
|
|||
if ($definitions['node_migration_no_migrate_drupal']['label'] !== 'Node Migration No Migrate Drupal') {
|
||||
throw new InvalidPluginDefinitionException('node_migration_no_migrate_drupal');
|
||||
}
|
||||
$migrations = $migration_plugin_manager->createInstances('');
|
||||
$migrations = $migration_plugin_manager->createInstances('node_migration_no_migrate_drupal');
|
||||
$result = (new MigrateExecutable($migrations['node_migration_no_migrate_drupal']))->import();
|
||||
if ($result !== MigrationInterface::RESULT_COMPLETED) {
|
||||
throw new \RuntimeException('Migration failed');
|
||||
|
|
Loading…
Reference in New Issue