Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / file / tests / src / Unit / Plugin / migrate / process / d6 / FileUriTest.php
index 78d5082f6c563e6c75b5d4959221156d6ab97798..5a5918208e554e961a4a37bb3e643cf07336e3a3 100644 (file)
@@ -4,7 +4,6 @@ namespace Drupal\Tests\file\Unit\Plugin\migrate\process\d6;
 
 use Drupal\file\Plugin\migrate\process\d6\FileUri;
 use Drupal\migrate\MigrateExecutable;
-use Drupal\migrate\MigrateMessage;
 use Drupal\migrate\Row;
 use Drupal\Tests\migrate\Unit\MigrateTestCase;
 
@@ -69,7 +68,7 @@ class FileUriTest extends MigrateTestCase {
   }
 
   protected function doTransform(array $value) {
-    $executable = new MigrateExecutable($this->getMigration(), new MigrateMessage());
+    $executable = new MigrateExecutable($this->getMigration());
     $row = new Row();
 
     return (new FileUri([], 'file_uri', []))