Issue #3466289 by catch, benjifisher, smustgrave: MigrateNoMigrateDrupalTest fails with missing classes in certain situations

merge-requests/9390/head
quietone 2024-09-02 17:03:56 +12:00
parent ae9641c117
commit 984772a9df
No known key found for this signature in database
GPG Key ID: 43BFBBB26EA09FE1
1 changed files with 1 additions and 1 deletions

View File

@ -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');