Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / UrlEncodeTest.php
index 1f7d94ae0d5f2b39d5ff3b9a4710c5eb37aecfc9..df41e828409758e41b7cff958d1cf11ab340c6f3 100644 (file)
@@ -4,7 +4,6 @@ namespace Drupal\Tests\migrate\Unit\process;
 
 use Drupal\migrate\Plugin\migrate\process\UrlEncode;
 use Drupal\migrate\MigrateExecutable;
-use Drupal\migrate\MigrateMessage;
 use Drupal\migrate\Row;
 use Drupal\Tests\migrate\Unit\MigrateTestCase;
 
@@ -56,7 +55,7 @@ class UrlEncodeTest extends MigrateTestCase {
    *   Encoded URL.
    */
   protected function doTransform($value) {
-    $executable = new MigrateExecutable($this->getMigration(), new MigrateMessage());
+    $executable = new MigrateExecutable($this->getMigration());
     $row = new Row();
 
     return (new UrlEncode([], 'urlencode', []))