Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Kernel / process / HandleMultiplesTest.php
index b4cc0e82b36dea28bee0add7e3d25010cf1c7571..dc63de3db62282ea65afb2f5bed918980ddd16db 100644 (file)
@@ -4,7 +4,6 @@ namespace Drupal\Tests\migrate\Kernel\process;
 
 use Drupal\KernelTests\KernelTestBase;
 use Drupal\migrate\MigrateExecutable;
-use Drupal\migrate\MigrateMessage;
 use Drupal\migrate\Plugin\MigrationInterface;
 
 /**
@@ -94,7 +93,7 @@ class HandleMultiplesTest extends KernelTestBase {
 
     $migration = \Drupal::service('plugin.manager.migration')->createStubMigration($definition);
 
-    $executable = new MigrateExecutable($migration, new MigrateMessage());
+    $executable = new MigrateExecutable($migration);
     $result = $executable->import();
 
     // Migration needs to succeed before further assertions are made.