X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FKernel%2Fprocess%2FDownloadTest.php;fp=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FKernel%2Fprocess%2FDownloadTest.php;h=11674c0bc2f52880f4cdb23e7aaf2061d49ecd02;hp=ee56e32c525d42e22852f0c761a61bc5701a401e;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/migrate/tests/src/Kernel/process/DownloadTest.php b/web/core/modules/migrate/tests/src/Kernel/process/DownloadTest.php index ee56e32c5..11674c0bc 100644 --- a/web/core/modules/migrate/tests/src/Kernel/process/DownloadTest.php +++ b/web/core/modules/migrate/tests/src/Kernel/process/DownloadTest.php @@ -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'); }