Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Functional / process / DownloadFunctionalTest.php
index 2a73d702ee6397671b46c61ab2fcbe9d33c576e6..ccbebff30794036e613cf5dea2941812c100e6b9 100644 (file)
@@ -3,7 +3,6 @@
 namespace Drupal\Tests\migrate\Functional\process;
 
 use Drupal\migrate\MigrateExecutable;
-use Drupal\migrate\MigrateMessage;
 use Drupal\migrate\Plugin\MigrateIdMapInterface;
 use Drupal\migrate\Plugin\MigrationInterface;
 use Drupal\Tests\BrowserTestBase;
@@ -51,7 +50,7 @@ class DownloadFunctionalTest extends BrowserTestBase {
 
     $migration = \Drupal::service('plugin.manager.migration')->createStubMigration($definition);
 
-    $executable = new MigrateExecutable($migration, new MigrateMessage());
+    $executable = new MigrateExecutable($migration);
     $result = $executable->import();
 
     // Check that the migration has completed.