Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / migrate / tests / src / Kernel / process / DownloadTest.php
index ee56e32c525d42e22852f0c761a61bc5701a401e..11674c0bc2f52880f4cdb23e7aaf2061d49ecd02 100644 (file)
@@ -51,7 +51,7 @@ class DownloadTest extends FileTestBase {
     $destination_uri = $this->createUri('another_existing_file.txt');
 
     // Test non-destructive download.
-    $actual_destination = $this->doTransform($destination_uri, ['rename' => TRUE]);
+    $actual_destination = $this->doTransform($destination_uri, ['file_exists' => 'rename']);
     $this->assertSame('public://another_existing_file_0.txt', $actual_destination, 'Import returned a renamed destination');
     $this->assertFileExists($actual_destination, 'Downloaded file was created');
   }