We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cbcf1 commit 28dfc3cCopy full SHA for 28dfc3c
src/AsyncAwsS3/AsyncAwsS3AdapterTest.php
@@ -386,6 +386,27 @@ public function copying_a_file_with_visibility(): void
386
});
387
}
388
389
+ /**
390
+ * @test
391
+ */
392
+ public function copying_a_file_with_non_ascii_characters(): void
393
+ {
394
+ $this->runScenario(function () {
395
+ $adapter = $this->adapter();
396
+ $adapter->write(
397
+ 'ıÇöü🤔.txt',
398
+ 'contents to be copied',
399
+ new Config([Config::OPTION_VISIBILITY => Visibility::PUBLIC])
400
+ );
401
+
402
+ $adapter->copy('ıÇöü🤔.txt', 'ıÇöü🤔_copy.txt', new Config());
403
404
+ $this->assertTrue($adapter->fileExists('ıÇöü🤔.txt'));
405
+ $this->assertTrue($adapter->fileExists('ıÇöü🤔_copy.txt'));
406
+ $this->assertEquals('contents to be copied', $adapter->read('ıÇöü🤔_copy.txt'));
407
+ });
408
+ }
409
410
/**
411
* @test
412
*/
0 commit comments